What is waiting state? In what ways a thread can enter into
waiting state?
Answer Posted / 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 |
Post New Answer View All Answers
Are there books about seam?
What are the oops concept?
how do you Handle Front End Application data against DB with example?
What’s jboss cache in short?
What is the difference between RMI registry and OS Agent?
Can I run seam with jdk 1.4 and earlier?
Do we need to override service() method
Can I use javascript to submit a form?
What are transaction attributes?
What are the purpose of introspection?
What do you know about seam?
What is the difference between long.class and long.type?
Explain what is orm?
What class is used to create Server side object ?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.