APP下载
首页
>
财会金融
>
Java计算机考试题题库
搜索
Java计算机考试题题库
题目内容
(
单选题
)
53. (填空题)JDK中能被捕获处理的异常类,都是_________类的子类或者间接子类。

答案:EXCEPTION

解析:null
判断题

Java计算机考试题题库
3 //do sth
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-6a28-c04c-ee30166b1a02.html
点击查看题目
39. (单选题)
以下代码段执行后的输出结果为( )
int x=-3; int y=-10;
System.out.println( );
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-e9a0-c04c-ee30166b1a01.html
点击查看题目
9. (判断题)一个类中可以定义多个构造方法。
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-4700-c04c-ee30166b1a03.html
点击查看题目
42. (单选题)
某成员变量在方法中被隐藏,又需要在方法中引用该成员变量,可以使用关键词( )
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-f170-c04c-ee30166b1a00.html
点击查看题目
15. (单选题)
while循环和 do…while循环的区别是:()。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-b6d8-c04c-ee30166b1a00.html
点击查看题目
26. (单选题) Java中,表达式(11+3*8)/4%3的值是?
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-4d60-c04c-ee30166b1a00.html
点击查看题目
22. (单选题)下面哪一个是正确的类的声明? ( )
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-2f90-c04c-ee30166b1a00.html
点击查看题目
39. (单选题)下列( )哪个代码替换源文件Com.java中的【代码】不会导致编译错误。
public interface Com {
int M = 200;
int f();
}
class ImpCom implements Com {
【代码】
}
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-6ca0-c04c-ee30166b1a01.html
点击查看题目
23. (单选题)
以下java代码片段,变量temp的值是?
boolean[] array = new boolean[2];
boolean temp = array[1];
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-4590-c04c-ee30166b1a00.html
点击查看题目
53. (填空题)JDK中能被捕获处理的异常类,都是_________类的子类或者间接子类。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0110-c04c-ee30166b1a03.html
点击查看题目
首页
>
财会金融
>
Java计算机考试题题库
题目内容
(
单选题
)
手机预览
Java计算机考试题题库

53. (填空题)JDK中能被捕获处理的异常类,都是_________类的子类或者间接子类。

答案:EXCEPTION

解析:null
判断题

分享
Java计算机考试题题库
相关题目
3 //do sth
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-6a28-c04c-ee30166b1a02.html
点击查看答案
39. (单选题)
以下代码段执行后的输出结果为( )
int x=-3; int y=-10;
System.out.println( );

A.   -1

B.   2

C.   1

D.   3

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-e9a0-c04c-ee30166b1a01.html
点击查看答案
9. (判断题)一个类中可以定义多个构造方法。
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-4700-c04c-ee30166b1a03.html
点击查看答案
42. (单选题)
某成员变量在方法中被隐藏,又需要在方法中引用该成员变量,可以使用关键词( )

A.   this

B.   new

C.   outer

D.   Inner

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-f170-c04c-ee30166b1a00.html
点击查看答案
15. (单选题)
while循环和 do…while循环的区别是:()。

A.  没有区别,这两个结构任何情况下效果一样

B.  while循环比 do…while循环执行效率高

C.  while循环是先循环后判断,所以循环体至少被执行一次

D.  do…while循环是先循环后判断,所以循环体至少被执行一次

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-b6d8-c04c-ee30166b1a00.html
点击查看答案
26. (单选题) Java中,表达式(11+3*8)/4%3的值是?

A.   31

B.   0

C.   1

D.   2

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-4d60-c04c-ee30166b1a00.html
点击查看答案
22. (单选题)下面哪一个是正确的类的声明? ( )

A.   public void HH{…}

B.   public class Move(){…}

C.   public class void number{}

D.   public class Car{…}

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-2f90-c04c-ee30166b1a00.html
点击查看答案
39. (单选题)下列( )哪个代码替换源文件Com.java中的【代码】不会导致编译错误。
public interface Com {
int M = 200;
int f();
}
class ImpCom implements Com {
【代码】
}

A.   public int f() {
return 100+M;
}

B.   int f() {
return 100;
}

C.   public double f(){
return 2.6;
}

D.  public abstract int f();

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-6ca0-c04c-ee30166b1a01.html
点击查看答案
23. (单选题)
以下java代码片段,变量temp的值是?
boolean[] array = new boolean[2];
boolean temp = array[1];

A.   2

B.   0

C.   false

D.   True

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-4590-c04c-ee30166b1a00.html
点击查看答案
53. (填空题)JDK中能被捕获处理的异常类,都是_________类的子类或者间接子类。

解析:null
判断题

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0110-c04c-ee30166b1a03.html
点击查看答案
试题通小程序
试题通app下载