public class foo {   public static void main (stri...
单选题

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

发布日期:2020-04-10

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.

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定