Is stop()=sleep() ?

This question is related to Oracle Interview

Showing Answers 1 - 1 of 1 Answers

mms

  • Apr 9th, 2006
 

no both are not same. sleep command is used stop a thread for particular period when it was specified. after that it automatically waked. but stop command is awaken through when the thread get 'notify'

  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