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?

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


Please Help Members By Posting Answers For Below Questions

Which are the different segments of memory?

1088


Write a singleton program?

1069


Why does the option tag render selected=selected instead of just selected?

1184


what are getters and setters in Java with examples?

1787


Describe, in general, how java's garbage collector works?

1040


What is the purpose of the notifyall() method?

1045


Can I map more than one table in a cmp?

1092


How substring() method of string class create memory leaks?

1055


Why is actionform a base class rather than an interface?

1074


How to pass parameters in RMI?

2269


What value does read() return when it has reached the end of a file?

1035


What is the highest-level event class of the event-delegation model?

1109


What is a tasks priority and how is it used in scheduling?

1061


how i secure my site with the https protocol.what are the steps?

2345


For which statements does it make sense to use a label?

1087