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 messsage u r going to get from an objectoriented programing?

2083


what is daemon thread and which method is used to create the daemon thread? : Java thread

955


Explain Basics of OOP Language in java

1035


How many types of exception can occur in a java program?

971


How do you add an arraylist to an array in java?

963


Which collection allows duplicate values in java?

952


Where are register variables stored?

998


What is the difference between keyword and identifier?

1012


What is the importance of finally block in exception handling?

1008


What is the output of the below java program?

1024


What is exception handling in java?

1020


How do you create a method in java?

982


Can we use static class instead of singleton?

1038


When should you make a function static?

969


Can we declare an interface as final?

1043