[主观题]

语句Thread thread1=new SomeThreadClass()成功运行后,线程thread1处于生命周期的______状态。

参考答案与解析:

相关试题

语句Threadthread1=newSomeThreadClass()成功运行后,线程thread1处于生命周期的__________状态。

[问答题]语句Threadthread1=newSomeThreadClass()成功运行后,线程thread1处于生命周期的__________状态。

  • 查看答案
  • 语句Threadthread1=newSomeThreadClass()成功运行后,线程thread1处于生命周期的______________状态。

    [问答题]语句Threadthread1=newSomeThreadClass()成功运行后,线程thread1处于生命周期的______________状态。

  • 查看答案
  • 对于下面语句的说法,不正确的是Thread thrObj=new Thread(

    [单选题]对于下面语句的说法,不正确的是 Thread thrObj=new Thread();A.系统没有为该线程对象分配资源B.只能启动或者终止C.创建了一个空的线程对象D.可以调用其他方法

  • 查看答案
  • 对于下面语句,不正确的说法是______。Thread thrObj=new T

    [单选题]对于下面语句,不正确的说法是______。 Thread thrObj=new Thread( );A.系统没有为此线程对象分配资源B.只能启动或者终止C.创建了一个空的线程对象D.可以调用其他方法

  • 查看答案
  • 对于下面语句的说法,不正确的是()。Thread thrObj=new Thre

    [单选题]对于下面语句的说法,不正确的是( )。 Thread thrObj=new Thread();A.系统没有为该线程对象分配资源B.只能启动或者终止C.创建了一个空的线程对象D.可以调用其他方法

  • 查看答案
  • 如果使用 Thread t = new Test() 语句创建一个线程,则下列叙

    [单选题]如果使用 Thread t = new Test() 语句创建一个线程,则下列叙述正确的是A.)Test 类一定要实现 Runnable 接口B.)Test 类一定是 Thread 类的子类C.)Test 类一定是 Runnable 的子类D.)Test 类一定是继承 Thread 类并且实现 Runnable 接口

  • 查看答案
  • 如果使用Thread t=new Test()语句创建一个线程,则下列叙述正确的

    [单选题]如果使用Thread t=new Test()语句创建一个线程,则下列叙述正确的是A.Test类一定要实现Runnable接口B.Test类一定是Thread类的子类C.Test类一定是Runnable的子类D.Test类一定是继承Thread类并且实现Runnable接口

  • 查看答案
  • The silk thread found in the hair of an

    [单选题]The silk thread found in the hair of an Egyptian mummy suggests that .A. Egyptians had probably travelled to China to buy silkB. trade along the Silk Road began earlier than once thoughtC. historical research often achieves fascinating resultsD. new

  • 查看答案
  • Which is local to a thread instead of a

    [单选题]Which is local to a thread instead of a process?A.a staCkB.an open fileC.a semaphoreD.an address space

  • 查看答案
  • 阅读下面程序1 public class Try extends Thread

    [单选题]阅读下面程序 1 public class Try extends Thread { 2 public static void main(String args[]) { 3 Try t=new Try(); 4 t.start(); 5 } 6 7 public void run(int j) { 8 int i=0; 9 while(i<5) { 10 System.out.println("祝你成功!"); 11 i++: 12 } 13 } 14 } 该程序若能打印5行“祝你成功!”

  • 查看答案
  • 语句Thread thread1=new SomeThreadClass()成功