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 |
whats is mean by jndi
How we set Bean Id when we are creating web application using SpringMVC and Hibernet Integration
Can I run seam outside of jboss as?
Differences between applications and applets?
How task's priority is used in scheduling?
Java is fully object oriented languages or not?
What is the difference between a menuitem and a checkboxmenuitem?
what is a dirty read?
Which containers use a border layout as their default layout?
What is the difference between the font and fontmetrics classes?
What is the priority of Garbage collector thread?
What is Introspection?