what is deadlock in threads?
with example
Answers were Sorted based on User's Feedback
Answer / ak
If an object A is holding an object X and trying to access
object Y and Object B is holding an object Y and trying to
access X, both the objects A,B want to release their
objects only after getting access to the target object in
that situation it is a dead lock
Is This Answer Correct ? | 2 Yes | 1 No |
What are other modifiers?
What are wrapped classes in java programming?
What is the difference between overriding & overloading?
Is empty set an element of empty set?
What is Session reduplication and how its done?
Why is serialization required?
Why Over riding is Run Time Polymorphism?
can we access the super class method using subclass object?
Can we overload run() method in java?
What is the difference between compile-time polymorphism and runtime polymorphism?
When is the garbage collection used in Java?
Explain the importance of join() method in thread class?