What is deadlock and how to avoid this?
Answers were Sorted based on User's Feedback
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 |
Answer / priyavarzhni
Deadlock is avoided by synchronising the code.
| Is This Answer Correct ? | 0 Yes | 5 No |
Explain heap sort?
How does enum work in java?
What is a blocking method in Java?
Can we instantiate interface in java?
What is entry set in java?
How big is a 32 bit integer?
What is are packages?
Can we create an object of private class?
What is the locale class in java programming?
What is constructor chaining in java?
What are the disadvantages of using inner classes?
What are facelets templates?