Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What will happens, when a thread cannot acquire a lock on
an object?

Answers were Sorted based on User's Feedback



What will happens, when a thread cannot acquire a lock on an object?..

Answer / anonymous

To my mind, this seems ambigious.
Simply another thread may try to use the same object.

Is This Answer Correct ?    1 Yes 0 No

What will happens, when a thread cannot acquire a lock on an object?..

Answer / 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

More Advanced Java Interview Questions

What is private static final long serialVersionUID = 1L;

3 Answers   Google,


difference between  ejb,struts,hibernate,spring and jsp

0 Answers  


What is rmic?

4 Answers  


whats is mean by tiles in struts

0 Answers   SolutionNET,


How would you detect a keypress in a jcombobox?

0 Answers  


What is the RMI and Socket?

0 Answers  


What state does a thread enter when it terminates its processing?

0 Answers  


how java is os independent language ?

3 Answers  


a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??

2 Answers  


What is the difference between a static and a non-static inner class?

0 Answers  


which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based

1 Answers  


How will the struts know which action class to call when you submit a form?

6 Answers   HeadStrong,


Categories