摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng /** * Created by Administrator on 2014/10/23. * * setDaemon public final void setDaemon(boolean... 阅读全文
posted @ 2014-10-23 15:15 liupengcheng 阅读(970) 评论(0) 推荐(0) 编辑
摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng /** * Created by Administrator on 2014/10/23. *以下事例模拟4个窗口售100张票 */ // 创建线程的另一种方法是声明实现 Runnable 接口的类。该类然后实现 ru... 阅读全文
posted @ 2014-10-23 14:40 liupengcheng 阅读(494) 评论(0) 推荐(0) 编辑