public class foo {   public static void main (stringargs)   try {return;}   finally {system.out.printIn(“Finally”);}   }     What is the result?()  

A .  The program runs and prints nothing. B .  The program runs and prints “Finally” C .  The code compiles, but an exception is thrown at runtime. D .  The code will not compile because the catch block is missing.

时间:2022-09-12 07:50:20 所属题库:SCJP程序员认证考试题库

相似题目