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

Can I run seam with jdk 1.4 and earlier?

982


What is the difference between the session.get() method and the session.load() method?

1076


What are the call back methods in entity bean?

1052


What are the pros and cons of detached objects?

971


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.

2226


Explain phantom read?

2209


what is the use of State Factories?

2378


What is the relationship between local interfaces and container-managed relationships?

1103


How will you pass parameters in RMI? Why do you serialize?

1219


What is the relation between the infobus and rmi?

985


Write a singleton program?

1025


what is Activation Instantinator?

2425


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

1098


How are the elements of a borderlayout organized?

1096


what is a portable component?

1985