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 |
Can a class be declared as protected?
What is null object in java?
What is methods in java?
Why are the objects immutable in java?
What are white spaces in java?
To obtain design information about an object, which class in used?
Difference between object and reference?
What is a nested list?
How Applets & Servlets will communicate with each other?
What methodology can be employed to locate substrings inside a string?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What are data structures in java?