返回
摘要: 昨天,路过https://forums.oracle.com/message/10448617的时候,发现了这个问题:class SyncClass{ synchronized void synMthd(String s) { System.out.println("[ "+s); try { Thread.sleep(3000); } catch(Exception e) { System.out.println(e); } System.out.println(" ]"); }}class Test implements Runnable{ publ 阅读全文
posted @ 2013-08-09 21:48 feige_hunter 阅读(261) 评论(0) 推荐(0)