For1 f1=new For1("A"); For1 f2=new For1("B"); Thread t1=new Thread(f1); Thread t2=new Thread(f2); t1.start(); t2.start();
怎样让他t1休眠 而t2正常运行
收起
t1.sleep(1000); //等待1秒
报告相同问题?