在程序的下划线处应填入的选项是:
public class Test_____{
public static void main(String args[]){
Test t = new Test();
Thread tt = new Thread(t);
tt.start();
}
public void run(){
for(int i=0;i
Aimplements Runnable
Bextends Thread
Cimplements Thread
Dextends Runnable
相关试题
-
在程序的下划线处应填入的选项是: public class Test_____{ public static void main(String args[]){ Test t = new
-
果的描述中,正确的是: class Test{ public static void main(String args[]){ TestThread pm1 = new
-
在Java中,执行以下代码后,说法正确的是 public class Test extends Thread { public static void main(String args[]) { Te
-
is run()); 4: } 5: public static void main(String args[]){ 6: Thread t=new Thread(new X(
-
ue; public static void main(string[ ] args) { Test r =new Test( ); Thead t1=new Thead(