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 are the oops concept?
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.
Why is string immutable in java?
What is the highest-level event class of the event-delegation model?
When is the best time to validate input?
Can you give me a simple example of using the requiredif validator rule?
Which are the different segments of memory?
Define the remote object implementation?
how i secure my site with the https protocol.what are the steps?
Why do I get a duplicate name error when loading a jar file?
Which class is the immediate superclass of the menucomponent class?
What is the relation between the infobus and rmi?
what is the use of State Factories?
What is chat area? Explain.
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me