Which one of the following is a limitation of sub classing the Thread class?


Choice 1 It cannot have any static methods in the class.
Choice 2 It must declare the class final.
Choice 3 It cannot subclass any other class.
Choice 4 It must implement the Threadable interface.
Choice 5 It must catch the ThreadDeath exception

Showing Answers 1 - 1 of 1 Answers

Choice 3 It cannot subclass any other class.

because  java supports multiple inheritance with interfaces not with classes

Choice 4 It must implement the Threadable interface.

another way of creating custom threads using Runnable interface (not thradble)


i think...
i dont know about other options.....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions