试题详情

下列关于Test 类的定义中,正确的是:

Aclass Test implements Runnable { public void run(){} public void someMethod(){} }

Bclass Test implements Runnable { public void run(); }

Cclass Test implements Runnable { public void someMethod(); }

Dclass Test implements Runnable { public void someMethod(){} }