首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

多线程面试题一路,请写出输出结果

2013-07-09 
多线程面试题一道,请写出输出结果?public class ThreadRun extends Thread{public static void main(Strin

多线程面试题一道,请写出输出结果

?

public class ThreadRun extends Thread{public static void main(String agrs[]) throws Exception {ThreadRun tr = new ThreadRun();System.out.print("b");tr.start();System.out.print("c");tr.join();System.out.print("d");}public void run() {System.out.print("a");}}

?

?

热点排行