找答案
首页
【多选题】
现有
1. class Calc {
2. public static void main(String [] args) {
3. try {
4. int x = Integer.parselnt ("42a") ;
5. //insert code here
6. System.out.print ("oops");
7. }
8. }
9. }
下面哪两行分别插入到第五行,会导致输 "oops" ? ()
A.
} catch (IllegalArgumentException e) {
B.
} catch (IllegalStateException c) {
C.
} catch (NumbelFormatException n) {
D.
} catch (ClassCastException c) {
参考答案:
登录免费查看参考答案
参考解析:
登录免费查看参考解析
知识点:
登录免费查看知识点
答题技巧:
登录免费查看答题技巧
被用于:
暂无被用于
刷刷题刷刷变学霸
相关题目:
【单选题】若有如下Sub过程: Sub sfun(x As Single, y As Single) t=x x=t/y y=t Mod y End Sub 在窗体中添加一个命令按钮Command33,对应的事件过程如下: Private Sub Command33_Click() Dim a As Single Dim b As Single a=5:b=4 sfun(a, b) MsgBox a &am...
【多选题】现有 1. class Calc { 2. public static void main(String [] args) { 3. try { 4. int x = Integer.parselnt ("42a") ; 5. //insert code here 6. System.out.print ("oops"); 7....
【多选题】导致绩效不佳的原因可能是( )。
【单选题】()是指可导致事故发生的物的危险状态、人的不安全行为及管理上的缺陷。
【单选题】五行之中代表“智”的是什么?()
【单选题】与五行中“木”相对应的是()
【单选题】往复泵电动机如果相序接反可能会导致?
【多选题】在画布中需要输入一行文字,但由于文字较多自动变成了两行,正确的处理方法是()
【判断题】在一个关系中任意交换两行的位置,将会影响数据的实际含义。
【判断题】中国哲学研究的主要范畴,主要包括气论、阴阳和五行
刷刷题刷刷变学霸