问题:
public class Foo {
public static void main(String[] args) {
try {
return;
} finally {
System.out.println( “Finally” );
}
}
}
What is the result?()
A . Finally
B . Compilation fails.
C . The code runs with no output.
D . An exception is thrown at runtime.
public class Foo {
public static void main(String[] args) {
try {
return;
} finally {
System.out.println( “Finally” );
}
}
}
What is the result?()
● 参考解析
本题暂无解析
相关内容
相关标签