题库 软件开发 题目列表 下面代码的输出结果是什么? public class ZeroTes...
单选题
下面代码的输出结果是什么?
public class ZeroTest {
    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
评论
17
点击