What is waiting state? In what ways a thread can enter into
waiting state?
Answers were Sorted based on User's Feedback
Answer / sandya
In 3 ways:
1.A Thread can enter the waiting state by invoking it's
sleep() method
2.By blocking on i/o by unsuccessfully attempting to
acquire an object's lock or by invoking an object's wait()
method.
3.It can also enter the waiting state by invoking it's
suspend() method.
Is This Answer Correct ? | 27 Yes | 2 No |
Where can I ask questions and make suggestions about seam?
When a thread blocks on i/o?
What is the difference between a menuitem and a checkboxmenuitem?
Can I import same package/class twice? Will the jvm load the package twice at runtime?
Why doesn’t the focus feature on the tag work in every circumstance?
What is Servlet Filter And What does it work?
list the types of dialodg
What is synchronization?
What is meant by Superconductivity?
For which statements does it make sense to use a label?
What is the difference between system.out ,system.err and system.in?
What event results from the clicking of a button?