阅读下列程序片段 public void test(){   try{     sayHello();     System.out.println("Hello");   }catch (ArrayIndexOutOfBoundException e) {     System.out.println("ArrayIndexOutOfBoundException");   }catch(Exception e){     System.out.println("Exception");   }finally {     System.out.println("Finally");   } } 如果sayHello( )方法正常运行,则test( )方法的运行结果将是:

发布于 2021-02-15 16:36:32
【单选题】
A Hello
B ArrayIndexOutOfBondsException
C Exception   Finally
D Hello  Finally

查看更多

关注者
0
被浏览
85
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服