Vidyalelo
Java Programming · Q35

Threads

Programming · Java Programming · question 35

Q35

Analyze the following code: public abstract class Test implements Runnable public void doSomething() ;

A.
The program will not compile because it does not implement the run() method.
B.
The program will not compile because it does not contain abstract methods.
C.
The program compiles fine.
Answer
D.
None of the above

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board