试题详情
单项选择题 class Thread2 implements Runnable {  void run() {  System.out.print("go ");  }  public static void main(String [] args) {  Thread2 t2 = new Thread2();  Thread t = new Thread(t2);  t.start();  }  }   结果为()

A、go

B、编译失败

C、代码运行,无输出结果

D、运行时异常被抛出

  • B
  • 关注下方微信公众号,在线模考后查看

热门试题