问题:
public class foo {
public static void main (string[]args)
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.
public class foo {
public static void main (string[]args)
try {return;}
finally {system.out.printIn(“Finally”);}
}
What is the result?()
● 参考解析
本题暂无解析