(16)
A. 依赖
B. 聚集
C. 泛化
D. 实现
第1题
(29 )当使用 SomeThread t=new SomeThread() 创建一个线程时,下列叙述中正确的是
A ) SomeThread 类是包含 run() 方法的任意 java 类
B ) SomeThread 类一定要实现 Runnable 接口
C ) SomeThread 类是 Thread 类的子类
D ) SomeThread 类是 Thread 类的子类并且要实现 Runnable 接口
第2题
当使用SomeThread t=new SomeThread()创建一个线程时,下列叙述中正确的是()。
A.SomeThread类是包含run()方法的任意Java类
B.SomeThread类-定要实现Runnable接口
C.SomeThread类是Thread类的子类
D.SomeThread类是Thread类的子类并且要实现Run-nable接口
第3题
当使用SomeThread t=new SomeThread()创建一个线程时,下列叙述中正确的是
A.SomeThread类是包含run()方法的任意Java类
B.SomeThread类一定要实现Runnable接口
C.SomeThread类是Thread类的子类
D.SomeThread类是Thread类的子类并且要实现Runnable接口
第4题
当使用SomeThread t=new SomeThread创建一个线程时,下列叙述中正确的是()。
A.SomeThread类是包含run方法的任意Java类
B.SomeThread类一定要实现Runnable接口
C.SomeThread类是Thread类的子类
D.SomeThread类是Thread类的子类并且要实现Run- nable接口
第5题
当使用SomeThread t=new SomeThread创建一个线程时,下列叙述中正确的是()。
A.SomeThread类是包含run方法的任意Java类
B.SomeThread类一定要实现Runnable接口
C.SomeThread类是Thread类的子类
D.SomeThread类是Thread类的子类并且要实现Run- nable接口
第6题
当使用SomeThread t=new SomeThread创建一个线程时,下列叙述中正确的是()。
A.SomeThread类是包含run方法的任意Java类
B.SomeThread类一定要实现Runnable接口
C.SomeThread类是Thread类的子类
D.SomeThread类是Thread类的子类并且要实现Runnable接口
第7题
当使用SomeThread t=new SomeThread()创建-个线程时,下列叙述中正确的是()。
A.Some Thread类是包含run()方法的任意Java类
B.Some Thread类-定要实现Runnable接口
C.Some Thread类是Thread类的子类
D.Some Thread类是Thread类的子类并且要实现Run-nable接口
第8题
当使用Thread t=new Thread(r)创建一个线程时,表达式:r instanceo Thread的值是【 】。
第9题
当使用Thread t=new Thread(r)创建一个线程时,表达式:r instanceof Thread的值是【 】。
第10题
如果使用Thread t=new Test()语句创建一个线程,则下列叙述正确的是
A.Test类一定要实现Runnable接口
B.Test类一定是Thread类的子类
C.Test类一定是Runnable类的子类
D. Test类一定是继承Thread类,并且实现Runnable接口
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!