摘要:
JDK说明:joinpublic final void join() throws InterruptedException等待该线程终止。抛出:InterruptedException- 如果任何线程中断了当前线程。当抛出该异常时,当前线程的中断状态被清除测试代码:public class MyThread extends Thread { public static void main(String[] args) throws InterruptedException { A a=new A(); B b=new B(); a.start(); a.... 阅读全文
posted @ 2013-03-20 10:31
IamThat
阅读(265)
评论(0)
推荐(0)

浙公网安备 33010602011771号