试题详情
- 单项选择题 class Work implements Runnable { Thread other; Work(Thread other) { this.other = other; } public void run() { try { other.join(); } catch (Exception e) { } System.out.print("after join "); } } class Launch { public static void main(String [] args) { new Thread(new Work(Thread.currentThread())).start(); System.out.print("after start "); } } 结果为:()
A、after join
B、after start
C、after join after start
D、after start after join
- D
关注下方微信公众号,在线模考后查看
热门试题
- 求1~99的平方根的和并输出结果。(保留
- java语言中int类型数据占用多少位(
- 下面类中属于字节I/O流的是()
- public class&e
- What is th
- Runnable r&ens
- 现有: class&ens
- Which two̳
- 企业发放的奖金根据利润提成。利润(I)低
- 在Swing GUI编程中,
- 下面选项中哪些不是Java关键字()
- 为student类定义构造方法初始化所有
- What can d
- Which is
- 以下哪个方法不是鼠标事件侦听器接口(Mo
- 什么是数组?数组有哪些特点?Java中创
- class ClassA&e
- 10. class&ensp
- Math.random()方法用来实现
- import java.aw