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 and how to avoid this?

Answers were Sorted based on User's Feedback



What is deadlock and how to avoid this?..

Answer / ravikiran(aptech mumbai)

deadlock is the uneven condition occured between two
synchronized methods calling each other on each others bodies.

we can avoid dead lock threw inter thread communication by
calling wait notify and notifyall methods of object class

Is This Answer Correct ?    3 Yes 1 No

What is deadlock and how to avoid this?..

Answer / priyavarzhni

Deadlock is avoided by synchronising the code.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is the difference between error and an exception?

0 Answers  


What is the mapping mechanism used by java to identify IDL language?

0 Answers  


write java code to print second max number in the array

12 Answers   Huawei, IBAB,


What is subsequence of a string?

0 Answers  


What methods are used to get and set the text label displayed by a button object?

0 Answers  


What is the difference between java and .Net?

39 Answers   Bosch,


What is Java Package and which package is imported by default?

0 Answers  


Can a class extends itself in java?

0 Answers  


What is class and its types?

0 Answers  


Under what conditions is an object’s finalize() method invoked by the garbage collector?

0 Answers  


Explain about collection interface in java?

0 Answers  


What is the smallest package in Java API?

5 Answers   iGate,


Categories