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 activation groupworks?

2202


What is the form of storage space in java?

2250


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1159


What is the difference between java class and bean?

1087


Can I have an action without a form?

1110


What is permgen or permanent generation?

1028


what is a portable component?

2015


Are enterprise beans allowed to use thread.sleep()?

1152


How messaging services are done, before release of JMS?

2145


Can you control when passivation occurs?

1068


How would you create a button with rounded edges?

1153


When is the best time to validate input?

1105


Explain about thread synchronization inside a monitor?

2548


What is Remote Server?

2203


Why use POJO when I can use hashmap

2653