Search Interview Questions
| 3356 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|
|Usually asked only to fresh graduates.|
|Ans. Threads enters to waiting state or block on I/O because other threads can execute while the I/O operations are performed.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  java   threads   multithreading   scheduling   operating system|
|What is the difference between time slicing and preemptive scheduling ?|
|Explain Thread States ?|
|What is an object's lock and which object's have locks?|
|What is the difference between yield() and sleep()?|
|Can a lock be acquired on a class ?|
|What state does a thread enter when it terminates its processing?|
|Difference between yield() and sleeping()?|
|What is Time slicing with respect to Threads ?|