Programming - Threads - Discussion

You Are Here :: Home > JAVA > Threads - Discussion

 



Q.

If you extend the Thread Class, that means that subclass cannot extend any other Class, but if you implement _________________ interface then you can do this.                         


A. Running B. Runnable
C. Executable D. Compilable

Answer: Option B
Explaination:

 


If you extend the Thread Class, that means that subclass cannot extend any other Class, but if you implement Runnable interface then you can do this.




Discussion

Your Comments Goes here...
NameDiscussion