摘要:
package cn.mutipart.thd; public class Test02 { public static void main(String[] args) { MyPainter p = new MyPainter(); new Thread(){ public void run() { ... 阅读全文
posted @ 2018-01-14 18:08
yoyo198212
阅读(155)
评论(0)
推荐(0)
摘要:
package cn.mutipart.thd; public class TicketTest { public static void main(String[] args) { String lock = "这是线程锁"; Ticket t1 =new Ticket(lock); new Thread(t1).start(); ... 阅读全文
posted @ 2018-01-14 10:19
yoyo198212
阅读(476)
评论(0)
推荐(0)
浙公网安备 33010602011771号