in(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.不能通过编译,TestThread类中不能定义变量和构造方法
B.输出One One Two Two
C.输出Two One One Two
D.选项B或C都有可能出现