摘要:
public class TestSynchronized implements Runnable{ Timer timer = new Timer(); public static void main(String[] args){ TestSynchronized syn = new TestS 阅读全文
posted @ 2020-03-05 11:22
yxfyg
阅读(395)
评论(0)
推荐(0)
摘要:
public class TestJoin{ public static void main(String[] args){ Thread t = new Thread(new MyRunner()); t.start(); try{ t.join(); } catch(InterruptedExc 阅读全文
posted @ 2020-03-05 09:44
yxfyg
阅读(166)
评论(0)
推荐(0)
浙公网安备 33010602011771号