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 thread deadlock? How to resolve thread deadlock?

3 Answers  


Wt is the main difference between Java and Java J2EE and Advanced java?

5 Answers   Wipro,


Connection Pooling with different type of databases?

1 Answers  


What is the relationship between the canvas class and the graphics class?

0 Answers  


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

0 Answers  


What are the JSP implicit objects ?

1 Answers   eMids,


What is checkpoint? How to create checkpoints in our java projects?

1 Answers   ABC,


Why doesn’t the focus feature on the tag work in every circumstance?

0 Answers  


whats is mean by tiles in struts

2 Answers   SolutionNET,


difference between Abstract and Interface?

2 Answers   HCL, Infotech,


What is the difference between a stub and a skeleton?

9 Answers   ABC, College School Exams Tests, Geoservices, Polaris, Qualcomm, Rajiv Gandhi College of Engineering and Technology RGCET, UTIITSL, Wipro,


What is a thread?

3 Answers  


Categories