[单选题]

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

A. ) SomeThread 类是包含 run() 方法的任意 java 类

B. ) SomeThread 类一定要实现 Runnable 接口

C. ) SomeThread 类是 Thread 类的子类

D. ) SomeThread 类是 Thread 类的子类并且要实现 Runnable 接口

参考答案与解析:

相关试题

当使用SomeThread t=new SomeThread()创建一个线程时,

[单选题]当使用SomeThread t=new SomeThread()创建一个线程时,下列叙述中正确的是( )。A.SomeThread类是包含run()方法的任意Java类B.SomeThread类一定要实现Runnable接口C.SomeThread类是Thread类的子类D.SomeThread类是Thread类的子类并且要实现Runnable接口

  • 查看答案
  • 当使用SomeThread t=new SomeThread()创建一个线程时,

    [单选题]当使用SomeThread t=new SomeThread()创建一个线程时,下列叙述中正确的是A.SomeThread类是包含run()方法的任意Java类B.SomeThread类一定要实现Runnable接口C.SomeThread类是Thread类的子类D.SomeThread类是Thread类的子类并且要实现Runnable接口

  • 查看答案
  • New strains of viruses are transmitted t

    [单选题]New strains of viruses are transmitted to man by______.A. a type of pigB. diseased lower animalsC. a group of migrating birdsD. a variety of means

  • 查看答案
  • The new traffic law is mainly intended t

    [单选题]The new traffic law is mainly intended to .A. limit the number of foreign vehicles entering BritainB. increase the British movement’s additional incomeC. lower the rate of traffic accidents and injuriesD. get foreign drives to appear in count

  • 查看答案
  • E New archaeological discovers suggest t

    [单选题]E.New archaeological discovers suggest that trade between Europe and Asia along the Silk Road probably began in some form. many countries earlier than once thought. The findings, coupled with a widening range of scientific and historical research cou

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

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

  • 查看答案
  • New and more up£­to£­date methods have t

    [试题]New and more up-to-date methods have to______(find)for collecting earthquake data and analyzing it.

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

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

  • 查看答案
  • John: Mary isn't going to New York next

    [单选题]John: Mary isn't going to New York next week.Rose: ______

  • 查看答案
  • The reason I didn't go to Canada was ______ a new job.

    [单选题]The reason I didn't go to Canada was ______ a new job.A.because I gotB.how

  • 查看答案
  • ( 29 )当使用 SomeThread t=new SomeThread()