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 |
How do you allocate memory to object?
What are the advantages of java over cpp?
what is collections in java?
Why is java so popular?
What is currentthread()?
why top level class could not be static
What is the maximum size of arraylist in java?
Difference between error and exception
What is a boolean flag in java?
What is object in java?
What is the use of a copy constructor?
Is double bigger than float?