hi in McGraw Hill- Sun Certified Programmer & Developer for Java2, chapter 2, question 14 valid answers are b and f.
Here is the question :
Which two statements are true for any concrete class implementing the
java.lang.Runnable interface? (Choose two.)
A. You can extend the Runnable interface as long as you override the public run()
method.
B. The class must contain a method called run() from which all code for that
thread will
be initiated.
C. The class must contain an empty public void method named run().
D. The class must contain a public void method named runnable().
E. The class definition must include the words implements Threads and contain a
method called run().
F. The mandatory method must be public, with a return type of void, must be called
run(), and cannot take any arguments.
I can not understand why b is correct ? Instead b i would choose c. Where I'm wrong?