皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
请阅读下列程序代码,然后将程序的执行结果补充完整。 程序代码: public class throwsException{ static void Proc(int sel) throws ArithmeticException, ArrayIndexOutOfBoundsException System.out.println('In Situation'+sel); if(sel==0){ System.out.println('no Exception caught'); return; } else if(sel==1){ int iArray[]=new int[4]; iArray[1]=3; } } public static void main(String args[]){ try{ Proc(0); Proc(1); } catch (ArrayIndexOutOfBoundsException e){ System.out.println('Catch'+e); } finally{ System.out.println('in Proc finally'); } } } 执行结果 In Situation 0 no Exception caught 【 】 in Proc finally
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Tens years ago, there _____ full of fish in the lake .Now there are _____ fish .
A.
used to live; little
B.
had; a few
C.
were; many
D.
used to be; few
【简答题】超星期刊网址?
【多选题】分项工程可按主要工种、材料、施工工艺、设备类别进行划分。
A.
空铺法
B.
点粘法
C.
满粘法
D.
条粘法
E.
机械固定法
【单选题】超星期刊网址是
A.
qikan.chaoxing.com
B.
www.qikan.com
C.
www.duxiu
D.
以上都不对
【单选题】设随机变量X的可能取值为0,1,2,3,相应的分布律为0.1,0.3,0.4,0.2,F(x)为其分布函数,则F(2)=( )
A.
0.2
B.
0.4
C.
0.8
D.
1
【多选题】分项工程可按主要( )、( )、( )、( )进行划分
A.
工种
B.
材料
C.
施工工艺
D.
设备类别
E.
施工部位
【单选题】According to the passage, which of the following statements is true?
A.
Now there are fewer men fond of body art than before.
B.
The official statistics proved that body art gains popularity.
C.
All people who didn't think about having a tattoo then now have them.
D.
Skitch started to engage in body art about ten years ago.
【判断题】世界互联网大会截至2019年已经成功举办六届,举办地点一直以来均在浙江乌镇。
A.
正确
B.
错误
【判断题】分项工程可按主要工种、材料、施工工艺、设备类别进行划分。
A.
正确
B.
错误
【单选题】超星期刊网址是()
A.
qikan.chaoxing.com
B.
www.qikan.com
C.
www.duxiu.com
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题