题库 软件开发 题目列表 以下代码标准输出结果为 public class ClassA{...
单选题

以下代码标准输出结果为

public class ClassA{

 

        public static void main(String[] args) {

            try {

                int i = 100 / 0;

                System.out.print(i);

            } catch (Exception e) {

                System.out.print(1);

                throw new RuntimeException();

            } finally {

                System.out.print(2);

            }

            System.out.print(3);

        }

 

}

A.

3

B.

123

C.

1

D.

12

题目信息
校招真题
-
正确率
0
评论
11
点击