class Test implements Runnable{
public static void main(String[] args){
Test t = new Test();
t.start();
}
public void run(){ }
}
下列关于上述程序的叙述正确的是
A.) 程序不能通过编译,因为 start() 方法在 Test 类中没有定义
B.) 程序编译通过,但运行时出错,提示 start() 方法没有定义
C.) 程序不能通过编译,因为 run() 方法没有定义方法体
D.) 程序编译通过,且运行正常