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

How do you define a set in java?

944


What happens if an exception is not handled in a program?

1046


Write a program to reverse array in place?

1015


How do you sort arraylist in descending order?

980


What are the topics in core java?

1001


What is oops in java?

956


What is memory leak and how does java handle it?

934


What will happen if static modifier is removed from the signature of the main method?

909


What is the reflection?

944


What is static data type in java?

975


Why is it called buffering?

1054


What is a method type?

942


What does index mean in java?

925


Is boolean a data type in java?

901


What is the point of java?

968