试题详情
单项选择题 class MyThread extends Thread {  public void run() { System.out.println(“AAA”); }  public void run(Runnable r) { System.out.println(“BBB”); }  public static void main(String[] args) {  new Thread(new MyThread()).start();  }  }   What is the result?()  

A、 AAA

B、 BBB

C、 Compilation fails.

D、 The code runs with no output.

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

热门试题