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

If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

0 Answers  


What is a compilation unit?

2 Answers  


How do you use wildcards?

0 Answers  


what is meant by encapsulation?

0 Answers   Aspire,


How to change the priority of thread or how to set the priority of thread?

0 Answers  


What is the longest unicode character?

0 Answers  


What purpose do the keywords final, finally, and finalize fulfill?

0 Answers  


what do you mean by classloader in java?

0 Answers  


Can we override constructor in java?

0 Answers  


What is the role of the java.rmi.naming class?

0 Answers  


Why do we need array in java?

0 Answers  


What is Mutex (Mutual Exclusion Object) ?

0 Answers   Ciena,


Categories