试题详情
单项选择题 try {  int x = 0;  int y = 5 / x;  } catch (Exception e) {  System.out.println(“Exception”);  } catch (ArithmeticException ae) {  System.out.println(“Arithmetic Exception”);  }  System.out.println(“finished”);  What is the result?()  

A、 finished

B、 Exception

C、 Compilation fails.

D、 Arithmetic Exception

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题