欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

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.

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题