摘要: 1 class Timer{ 2 private static int num; 3 4 void add(String name){ 5 //synchronized (this){ 6 num++; 7 try{ Thread.sleep(1); } 8 catch(InterruptedException... 阅读全文
posted @ 2016-08-04 14:24 娃哈哈哈 阅读(159) 评论(0) 推荐(0) 编辑