Runnable Method

If Thread class contains run() method then why we are using run() method by implementing the runnable method in the Thread?

Questions by sailendra.n.jena   answers by sailendra.n.jena

Showing Answers 1 - 6 of 6 Answers

Actually Runnable interface has the method run(). Every thread Object call the start() method to run the thread run() method. So Every run() method have their own implimentation.

So we should write their own run() method thread code.

  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