在运行至pp.join();时需要使用try  catch   ,pp.join();会抛出异常对象吗public class ThreadDeao6
{
public static void main(String [] args)
{
Thread pp=new ThreadTest();
pp.start();
int i=0;
while(true)
{
if(i++==100)
pp.join();
System.out.println("main Thread ");
}
}
}
class ThreadTest extends Thread
{
public void run()
{
while(true)
{
System.out.println("run():"+Thread.currentThread().getName());
}
}
}