下面程序段的输出结果是 class Test public static void main(String args[]) MyThread t=new MyThread(); t.displayOutput( t has been createD) ; t.start(); class MyThread extends Thread public void displayOutput(String s) System.out.println(s); public void nm() displayOutput( t is running. );
A.t has been created.
t is running.
B.t has been created.
C.t is running.
D.编译出错