试题详情
单项选择题 public class Test {  public static void aMethod() throws Exception {  try {  throw new Exception(); } finally {  System.out.println(“finally”);  }  }  public static void main(String args[]) {  try {  aMethod();  } catch (Exception e) {  System.out.println(“exception”);  }  System.out.println(“finished”);  }  }  What is the result?()  

A、 finally

B、 exception finished

C、 finally exception finished

D、 Compilation fails.

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

热门试题