试题详情

在Java中,以下可以正确通过编译的是哪一项

Apublic class MyRunnable extends Runnable { public void run( ) { } }

Bpublic class MyRunnable extends Runnable { void run( ) { } }

Cpublic class MyRunnable implements Runnable { public void run( ) { } }

Dpublic class MyRunnable implements Runnable { void run( ) { } }