摘要: public class thread1 {public static void main(String args[]){new NewThread(); //creat a new threadtry{for(int i=5;i>0;i--){System.out.println("main Thread:"+i);Thread.sleep(1000);}}catch(InterruptedException e){System.out.print("main threa interrupted.");}System.out.print(&quo 阅读全文