APP下载
首页
>
财会金融
>
Java计算机考试题题库
搜索
Java计算机考试题题库
题目内容
(
单选题
)
1. (单选题)子类在引用父类中被隐藏的域或被覆盖的方法时,使用的关键字为( )。

A、  super

B、  this

C、  then

D、  Import

答案:A

Java计算机考试题题库
27. (单选题)
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-d230-c04c-ee30166b1a00.html
点击查看题目
15. (单选题)
下列语句执行后,b的值为( )。
int b=0;
for(int a=1;a<6;a=a+2) b+=a;
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-23d8-c04c-ee30166b1a00.html
点击查看题目
53. (填空题)JDK中能被捕获处理的异常类,都是_________类的子类或者间接子类。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0110-c04c-ee30166b1a03.html
点击查看题目
48. (填空题)在Java中,_________类用于操作磁盘中文件和目录。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-8028-c04c-ee30166b1a02.html
点击查看题目
65. (判断题)static方法不可以重载。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0cc8-c04c-ee30166b1a02.html
点击查看题目
50. (填空题)System.out是_________类的对象,称为标准输出流。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-8410-c04c-ee30166b1a01.html
点击查看题目
2 public void printValue( ){…}
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-16b0-c04c-ee30166b1a03.html
点击查看题目
46. (填空题)被static关键字修饰的成员变量被称为_________。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-8028-c04c-ee30166b1a00.html
点击查看题目
2. (单选题)关于内部类,下面说法错误的是?( )
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-4ae8-c04c-ee30166b1a01.html
点击查看题目
1. (填空题)创建二维数组的语法格式为:数组类型[ ][ ] 数组名=_________;
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-8968-c04c-ee30166b1a00.html
点击查看题目
首页
>
财会金融
>
Java计算机考试题题库
题目内容
(
单选题
)
手机预览
Java计算机考试题题库

1. (单选题)子类在引用父类中被隐藏的域或被覆盖的方法时,使用的关键字为( )。

A、  super

B、  this

C、  then

D、  Import

答案:A

分享
Java计算机考试题题库
相关题目
27. (单选题)

A.  catch{}子句

B.  try{}子句

C.  没有正确选项

D.  finally{}子句

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-d230-c04c-ee30166b1a00.html
点击查看答案
15. (单选题)
下列语句执行后,b的值为( )。
int b=0;
for(int a=1;a<6;a=a+2) b+=a;

A.   9

B.   10

C.   11

D.   12

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

解析:null
判断题

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0110-c04c-ee30166b1a03.html
点击查看答案
48. (填空题)在Java中,_________类用于操作磁盘中文件和目录。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-8028-c04c-ee30166b1a02.html
点击查看答案
65. (判断题)static方法不可以重载。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b8-0cc8-c04c-ee30166b1a02.html
点击查看答案
50. (填空题)System.out是_________类的对象,称为标准输出流。

解析:null
判断题

https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-8410-c04c-ee30166b1a01.html
点击查看答案
2 public void printValue( ){…}
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-16b0-c04c-ee30166b1a03.html
点击查看答案
46. (填空题)被static关键字修饰的成员变量被称为_________。
https://www.shititong.cn/cha-kan/shiti/0005e1b4-86b7-8028-c04c-ee30166b1a00.html
点击查看答案
2. (单选题)关于内部类,下面说法错误的是?( )

A.   成员内部类是外部类的一个成员,可以访问外部类的其它成员

B.   外部类可以访问成员内部类的成员

C.   局部内部类可以在其定义的当前方法外进行实例化

D.   静态内部类中可以定义静态成员,也可以定义非静态成员

https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-4ae8-c04c-ee30166b1a01.html
点击查看答案
1. (填空题)创建二维数组的语法格式为:数组类型[ ][ ] 数组名=_________;
https://www.shititong.cn/cha-kan/shiti/0005e1b3-7b7a-8968-c04c-ee30166b1a00.html
点击查看答案
试题通小程序
试题通app下载