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 is deadlock in threads?
with example

Answer Posted / ak

If an object A is holding an object X and trying to access
object Y and Object B is holding an object Y and trying to
access X, both the objects A,B want to release their
objects only after getting access to the target object in
that situation it is a dead lock

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object-oriented programming?

1207


What is valid keyword in java?

1050


Can we override private methods?

1109


What are "class access modifiers" in Java?

1208


What are sets in java?

1004


What are conditionals and its types?

1190


What is concurrent hashmap and its features?

1167


Explain the features of interfaces in java?

1034


What is contract between hashcode and equal method?

1099


Can we inherit inner class?

1077


List types of storage classes in java?

1223


What is the exact difference in between Unicast and Multicast object? Where will it be used?

1108


What is the use of inner class?

1099


Can a top level class be private or protected?

1097


Does garbage collection occur in permanent generation space in jvm?

1141