State true or false :- The suspend()method is used to terminate a thread?

A) True
B) False

Showing Answers 1 - 6 of 6 Answers

pramay

  • Jan 20th, 2006
 

suspend() is depricated method used to switch the current thread from running to runnable state.

The drawback with this method is "lock the shared resource during runnabel state".

Currently we ate using wait() instead of suspand() and notify(), notifyAll() instead of resume().

  Was this answer useful?  Yes

parthu

  • Feb 20th, 2006
 

Answer is false

 It won't terminate the thread.If we are calling suspend method on any thread,we can make the same thread to run by calling resume on that thread.

  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