给出以下代码,请问该程序的运行结果是什么? ?class?E{ ???public?static?void?main(String?args[]){ try{??int?i?=?5/0;?} ???catch(Exception?e){ ??????System.out.println("catch?Exception");} ?catch(ArithmeticException?e){ ??????System.out.println("Catch?ArithmeticException");} ?finally{ ??????System.out.?println("Catch?Finally");} }} 请选择一个正确答案:

发布于 2021-02-27 09:07:09
【单选题】
A 打印输出Catch?Finally
B 运行期异常
C 打印输出Catch?ArithmeticException
D 打印输出Catch?ArithmeticException和Catch?Finally
E 代码编译失败

查看更多

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

撰写答案

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

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服