摘要: http://bbs.csdn.net/topics/330215938 阅读全文
posted @ 2013-11-08 16:48 glt66 阅读(212) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/rollenholt/archive/2011/08/28/2156357.html 阅读全文
posted @ 2013-11-08 16:44 glt66 阅读(84) 评论(0) 推荐(0) 编辑
摘要: class MyThread implements Runnable{ public void run() { for (int i=0;i<100;i++) { this.printMsg(); } } public void printMsg() { System.out.println(Thread.currentThread().getName()+"在运行....."); }}public class debug { /** * @param args ... 阅读全文
posted @ 2013-11-08 15:09 glt66 阅读(157) 评论(0) 推荐(0) 编辑
摘要: class MyThread implements Runnable{ public void run() { for (int i=0;i<100;i++) { this.printMsg(); } } public void printMsg() { System.out.println(Thread.currentThread().getName()+"在运行....."); }}public class debug { /** * @param args ... 阅读全文
posted @ 2013-11-08 15:02 glt66 阅读(143) 评论(0) 推荐(0) 编辑