What will happens, when a thread cannot acquire a lock on
an object?
Answer Posted / sudarsan
It will be waiting in runnable stage untill it acquire
object lock.
We call explicitly send this thread to blocked stage using
wait() or sleep() methods to avoid wasting cpu time.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is mdb and what is the special feature of that?
What is threadfactory?
What is chat area? Explain.
What are the services in RMI ?
How can I scroll through list of pages like the search results in google?
Can I have an action without a form?
Difference between new operator and class.forname().newinstance()?
What you mean by COM and DCOM?
What class is used to create Server side object ?
What is an abstract method?
What is the difference between the session.get() method and the session.load() method?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
Do we need to override service() method
What method is invoked to cause an object to begin executing as a separate thread?
What is colon_pkg_prefixes and what is its use?