What is suspend() method used for ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. What is suspend() method used for ?
Ans. suspend() method is used to suspend the execution of a thread for a period of time. We can then restart the thread by using resume() method.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   threads   multi threading   operating system   synchronization      basic        rare


Related Questions

  What is a Deadlock ?
  What is the difference between time slicing and preemptive scheduling ?
  Difference between Process and Thread ?
  What are the difference between Threads and Processes ?
  Why threads block or enters to waiting state on I/O?
  What is the difference between yield() and sleep()?
  What is the initial state of a thread when it is created and started?
  Difference between suspend() and stop() ?
  What is a daemon thread? Give an Example ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: