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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why method overriding is used?

1019


What does split function do in java?

965


Difference between java and javascript

1033


What is the list interface in java programming?

1038


What is the char data type?

939


What does file separator do in java?

962


Write a factorial program using recursion in java?

945


Can Exception handling we can handle multiple catch blocks?

978


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1069


What is stack explain?

929


Is java a software?

895


What is jrmp?

901


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

911


What is hashing in java?

974


worst case complexities of Quick sort and Merge sort.

947