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 english?

1062


How we can execute any code even before main method?

1146


What is final method?

1073


Why is it called boolean?

1009


Which collection is ordered in java?

981


What is an object's lock and which object's have locks in java programming?

1052


How dead lock situation occurs in java and how you can identify it?

998


What is string variable?

1058


How we can run a jar file through command prompt in java?

971


What is the difference between length and size in java?

992


What are the restrictions imposed on method overriding?

1008


How can you read an integer value from the keyword when the application is runtime in java? example?

1136


How can you traverse a linked list in java?

1129


What is return type in java?

1075


What is difference between static class and normal class?

1121