单选题 Java
题号 #2592353

当使用SomeThread t=new SomeThread(  )创建一个线程时,下列叙述中正确的是(  )。

进入在线模考

参考答案

C

答案解析

由SomeThread t=new SomeTharead(  )可知此题是通过继承Thread类来创建线程的。

你可能感兴趣的试题

A.implements Runnable
B.extends Thread
C.implements Thread
D.extends Runnable
A.synchronized(  )
notify(  )
B.synchronized
this.wait(  )
C.synchronized
this.notify(  )
D.Serializable
sleep(  )
A.sleep(  )方法的时间到
B.获得了对象的锁
C.线程在调t.join(  )方法后,线程t结果
D.wait(  )方法结束
找试题 · 找答案 · 找资料 在线模考