摘要: package cn.thread; public class ManyThread { public static void main(String[] args) { Object obj = new Object(); new Thread(new MyHandler1(obj), "t1") 阅读全文
posted @ 2016-11-08 21:08 奋斗的少年WH 阅读(435) 评论(0) 推荐(0)
摘要: 1 package cn.thread; 2 3 public class ManyThread2 { 4 public static void main(String[] args) { 5 MyRunnable1 runnable1 = new MyRunnable1(); 6 MyRunnab 阅读全文
posted @ 2016-11-08 21:07 奋斗的少年WH 阅读(764) 评论(0) 推荐(0)