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 methods used for inter-thread communication? and in what class these methods are defined?
Why a component architecture for the java platform?
What are the types of data passing mechanisams under JMS specification?
what is JTS?
Define aop(assepct oriented programing)?
what is heepStored?
What is clustering? What are the different algorithms used for clustering?
What is mdb and what is the special feature of that?
how to get value in combo for updation?
Which containers use a border layout as their default layout?
What is the difference between RMI and Socket?
Why RMI required an interface?