试题详情
单项选择题 public class X {  public static void main(String [] args) {  try {  badMethod();  System.out.print(“A”);  }  catch (Exception ex) {  System.out.print(“B”);  }  finally {  System.out.print(“C”);  }  System.out.print(“D”);  }  public static void badMethod() {  throw new RuntimeException();  }  }  What is the result? () 

A、 AB

B、 BC

C、 ABC

D、 BCD

E、 Compilation fails.

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

热门试题