Search Interview Questions
| 3358 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|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|
|What is the difference between time slicing and preemptive scheduling ?|
|What is a Deadlock ?|
|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 ?|