有下面代码:Runnable task=new MyRunnable( );Thread myThread=new Thread(task);若上述代码能够正确编译,MyRunnable类应如何定义( )
A. public class MyRunnable extends Runnable{ public void run( ){ }}
B. public class MyRunnable Object Runnable{ public void run( ){ }}
C. public class MyRunnable implements Runnable{ public void run( ){ }}
D. public class MyRunnable implements Runnable{ public void start( ){ }}