摘要: public class ex5 { public static void main(String [] args) { thread5 t1 = new thread5(); thread5_1 t2 = new thread5_1(); t1.setPriority(Threa... 阅读全文
posted @ 2015-03-06 16:28 __夜风 阅读(189) 评论(0) 推荐(0) 编辑
摘要: public class ex3 { public static void main(String [] args) { thread2 t1 = new thread2("hello"); t1.start(); try { t1.join(); //Threa... 阅读全文
posted @ 2015-03-06 15:38 __夜风 阅读(260) 评论(0) 推荐(0) 编辑