Which is the most convient way to create a thread and Why?1) Extends from thread or2) Implements from Runnable Interface.

Showing Answers 1 - 12 of 12 Answers

implement runnable is good practise because in this way you can have other choice to extend another class. if you are creating the thread by extending the thread class then you will not have not any option for extending the another class.

  Was this answer useful?  Yes

deepthis594

  • Dec 27th, 2010
 

Implementing runnable is the most efficient way to create thread because classes should be extended only when they are being enhanced or modified in some way, while implementing runnable it is only required to override run method.

  Was this answer useful?  Yes

nkkaushik

  • Jan 5th, 2011
 

Impelementing the Runnable Interface gives a better way to create a Thread because by doing so, you can also extend any other class.

  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