• 2021-04-14
    对于下面语句Thread thrObj=new Thread();的说法,不正确的是()
  • 可以调用其他方法

    内容

    • 0

      关于Service和Thread的区别说法,不正确的是( )

    • 1

      Thread a=new Thread();a.start();则线程a获得cpu的使用权之后,能完成该线程的任务。( )

    • 2

      程序员想要创建一个名为MyThread的类以便在main方法中用Thread实例化。对于下面三行:MyThread必须继承Thread。MyThread必须实现Thread。MyThread必须覆盖publicvoidrun()。有几行是正确的() A.0 B.1 C.2 D.3

    • 3

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

    • 4

      Whatletter symbol is used in a thread note to denote an external thread? Aninternal thread?