关于下列代码编译或执行结果的描述中,正确的是( )。
public class Test{
public static void main(String argsE]){
TcstThread pml=new TestThread("One")
pml.start();
TestThread pm2=new TestThread("Tw0")
pm2.start();
}
}
class TestThread extends Thread(
private String sTname="";
TestThread(String s){
sTname=s;
}
public void run(){
for(int i=O;i<2;i++){
try{
sleep(1000);
}catch(InterruptedException e){}
system.out.print(sTname+"");
}
}
}
A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.
免费的网站请分享给朋友吧