摘要: // 本例用于演示线程终止 class E13_1{ public static void main(String args[]) { A a=new A(); Thread thread=new Thread(a); thread.setName("zhang san"); thread.star 阅读全文
posted @ 2016-05-17 11:08 榆次老城 阅读(86) 评论(0) 推荐(0) 编辑
摘要: // 本例用于演示挂起和恢复!class E13{ public static void main(String args[]) { A a=new A(); Thread thread=new Thread(a); thread.setName("zhang san"); thread.start 阅读全文
posted @ 2016-05-17 11:01 榆次老城 阅读(103) 评论(0) 推荐(0) 编辑