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 |
What are the different methods of identifying an object?
How many times may an objects finalize() method be invoked by the garbage collector?
diff between jsp include directive and jsp action include?
what is the Scope of Final Keyword in Java?
Is jvm a overhead?
What are Benefits of Connection Pooling?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
What is the difference between java class and bean?
wahts is mean by dynavalidatorform in struts/
can i call multipule form beans in Action class?
how can u cal servlet from java?
Explain how will the struts know which action class to call when you submit a form?