给定如下Java程序 这段程序编译运行后的输出结果是() public class Test{ public static void aM
已帮助 人
给定如下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

回答
共1条回复-
B
