摘要: 1 package com.cn; 2 3 class Test{ 4 public static void main(String [] args){ 5 Q q = new Q(); 6 new Thread(new Producer(q)).star... 阅读全文
posted @ 2016-01-07 22:39 伊小白 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1 package com.cn; 2 3 class Test{ 4 public static void main(String [] args){ 5 TestThread t = new TestThread(); 6 new Thread(t).... 阅读全文
posted @ 2016-01-07 21:50 伊小白 阅读(166) 评论(0) 推荐(0) 编辑