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

What are the difference between RMI and CORBA?

1171


What is Stream Tokenizer?

2322


What restrictions are placed on the location of a package statement within a source code file?

1156


What must a class do to implement an interface?

1282


What are the diff types of exception?

1118


What is the difference between system.out ,system.err and system.in?

1162


What is the difference between a menuitem and a checkboxmenuitem?

1176


Is there a guarantee of uniqueness for entity beans?

1059


What are the pros and cons of detached objects?

1039


Is it possible to stop the execution of a method before completion in a sessionbean?

1147


What do you know about seam?

1129


What is the immediate superclass of the applet class?

1137


What is the difference between the string and stringbuffer classes?

1162


What modifiers may be used with an interface declaration?

1189


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

1098