What is the difference between sleep and suspend

Showing Answers 1 - 1 of 1 Answers

M.Manikumar

  • Aug 13th, 2005
 

Both sleep and suspend methods will take the thread into waiting state.But the thread will automatically come to runnable state after the time is expired but we have to use a method to resume the thread from waiting state.The method that is used resume the thread from waiting state to runnable state is resume().

  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