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

What is the need of transient variables in Java ?

1116


Which data type is class in java?

1060


How do you declare an array in java?

1135


What are alternatives to java serialization?

1188


Why are variables important in research?

979


Is sizeof a keyword in java programming?

1125


extending thread class or implementing runnable interface. Which is better? : Java thread

1046


what is the purpose of using rmisecuritymanager in rmi?

1020


What is arrays sort in java?

1026


What is the type of lambda expression?

1087


Can we create an object of private class?

1025


What are actual parameters?

1092


Why is it important to initialize a variable?

1053


Explain differences between collection api and stream api?

1239


Write the algorithm to check the number non-leaf nodes in a tree.

1126