APP下载
首页
>
IT互联网
>
java考试必备题库最终版本
搜索
java考试必备题库最终版本
题目内容
(
单选题
)
17.在Java中,以下( )约束符是不正确的。

A、 private

B、 public

C、 protected

D、 friend

答案:D

java考试必备题库最终版本
5.在关闭浏览器是调用,能彻底终止Applet并释放该applet所有资源地方法是()
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2f2-5050-c0dc-76edc6d0d800.html
点击查看题目
51、下列叙述中,正确的是 ( )
https://www.shititong.cn/cha-kan/shiti/000ff64c-6a81-61a8-c0dc-76edc6d0d800.html
点击查看题目
15、下列代码中的短路逻辑运算符是______。 public class MyShortCut{ public static void main(String[] args){ int a=5,b=10; if((a!=5)&&(b<30)) System.out.println("ok"); } }
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2d1-7d20-c0dc-76edc6d0d800.html
点击查看题目
1、在Java中,用Package语句说明一个包时,该包的层次结构必须是
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2bd-2216-c0dc-76edc6d0d800.html
点击查看题目
28、Applet是能够嵌入到( )格式的文件中,并能够在浏览器中运行的Java
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2d3-a241-c0dc-76edc6d0d800.html
点击查看题目
69.下列方法中可以用来创建一个新线程的是
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2e6-1708-c0dc-76edc6d0d800.html
点击查看题目
29.能够支持javadoc命令的注释语句是( )
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2b0-19da-c0dc-76edc6d0d800.html
点击查看题目
30.设有下面两个类的定义: class Person { } class Student extends Person { long id; int score; String name; int getScore(){ return score; } } 上面两个类之间的关系是()
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2f6-7bc0-c0dc-76edc6d0d800.html
点击查看题目
1、下列不属于Java中的适配器是( )
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2ee-620a-c0dc-76edc6d0d800.html
点击查看题目
1、Java语言有多种实现机制,下列 ( )技术属于垃圾回收机制。
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2bf-b93c-c0dc-76edc6d0d800.html
点击查看题目
首页
>
IT互联网
>
java考试必备题库最终版本
题目内容
(
单选题
)
手机预览
java考试必备题库最终版本

17.在Java中,以下( )约束符是不正确的。

A、 private

B、 public

C、 protected

D、 friend

答案:D

java考试必备题库最终版本
相关题目
5.在关闭浏览器是调用,能彻底终止Applet并释放该applet所有资源地方法是()
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2f2-5050-c0dc-76edc6d0d800.html
点击查看答案
51、下列叙述中,正确的是 ( )

A. Java语言的标识符是区分大小写的

B. 源文件名与public类名可以不相同

C. 源文件扩展名为.jar

D. 源文件中public类的数目不限

https://www.shititong.cn/cha-kan/shiti/000ff64c-6a81-61a8-c0dc-76edc6d0d800.html
点击查看答案
15、下列代码中的短路逻辑运算符是______。 public class MyShortCut{ public static void main(String[] args){ int a=5,b=10; if((a!=5)&&(b<30)) System.out.println("ok"); } }
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2d1-7d20-c0dc-76edc6d0d800.html
点击查看答案
1、在Java中,用Package语句说明一个包时,该包的层次结构必须是
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2bd-2216-c0dc-76edc6d0d800.html
点击查看答案
28、Applet是能够嵌入到( )格式的文件中,并能够在浏览器中运行的Java
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2d3-a241-c0dc-76edc6d0d800.html
点击查看答案
69.下列方法中可以用来创建一个新线程的是
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2e6-1708-c0dc-76edc6d0d800.html
点击查看答案
29.能够支持javadoc命令的注释语句是( )
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2b0-19da-c0dc-76edc6d0d800.html
点击查看答案
30.设有下面两个类的定义: class Person { } class Student extends Person { long id; int score; String name; int getScore(){ return score; } } 上面两个类之间的关系是()
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2f6-7bc0-c0dc-76edc6d0d800.html
点击查看答案
1、下列不属于Java中的适配器是( )
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2ee-620a-c0dc-76edc6d0d800.html
点击查看答案
1、Java语言有多种实现机制,下列 ( )技术属于垃圾回收机制。
https://www.shititong.cn/cha-kan/shiti/000ff64e-a2bf-b93c-c0dc-76edc6d0d800.html
点击查看答案
试题通小程序
试题通app下载