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 disadvantages of using threads?
What is a layout manager?
whats is stored procedure,joins
what are getters and setters in Java with examples?
Why is string immutable in java?
whats is mean by object and class?
Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.
Difference between loadclass and class.forname?
What are the steps to write p-to-p model application?
What is bean? Where can it be used?
what are RemoteObjects?
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?