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

Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

0 Answers  


WHAT IS THE MEANING OF ALL TYPE OF BUZZWORDS?

4 Answers  


Why there is no call by reference in java?

0 Answers  


what is bytecode? watz the difference between machine code and bytecode?

9 Answers   Oracle,


What is a get method?

0 Answers  


What is interface and its use?

8 Answers   HCL,


How to implement a multithreaded applet?

0 Answers  


What is considered an anti pattern?

0 Answers  


What is the difference between the program and the process?

1 Answers  


What is the difference between math floor and math round?

0 Answers  


What's the base class of all exception classes?

0 Answers  


long d =10;int i =0;i=d; /// is this possible? If d is very long number (10 digits or some thing) then?

3 Answers  


Categories