import java.io.*;
import java.lang.Runnable;
import java.lang.Thread;
class First extends Thread
{
public void run()
{
try
{
this.suspend();
System.out.println("the first thread");
}
catch(Exception e)
{
System.out.println("the first thread has a exception");
}
}
}class Second extends Thread
{
public void run()
{
try
{
System.out.println("the second thread");

}
catch(Exception e)
{
System.out.println("the second thread has a exception");
}
}

}
public class ThreeThreads 
{
public  static void main(String[] args)
{
First first = new First();
Second second = new Second();


Thread.yield();

}
}编译提示我覆写或是调用了过时的api??我就是想这3个thread循序执行~!