题目内容
(请给出正确答案)
[单选题]
给定如下Java程序,这段程序编译运行后的输出结果是() public class Test{ public static void aMethod() throws Exception{ try{ throw new Exception(); }finally{ System.out.print("Finally"); } } public static void main(String[]args){ try{ aMethod(); }catch(Exception e){ System.out.print("Finished"); } } }
A.FinallyException
B.Finally
C.FinishedFinally
D.FinalyFinished
答案
B、Finally
如搜索结果不匹配,请 联系老师 获取答案