[单选题]

阅读下面程序 public class Test2 ______ { public static void main(String[] args) { Thread t=new Test2(); t.start(); } public void run() { System.out.println("How are you."); } } 程序中下画线处应填入的正确选项是

A.implements Thread

B.extends Runnable

C.implements Runnable

D.extends Thread

参考答案与解析:

相关试题

阅读下面程序public class Test2 ______ { public