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 is JVM ? use of JVM?
explain what is transient variable in java?
What is an object’s lock and which object’s have locks?
what do you mean by marker interface in java?
Is java free for commercial?
Where is java located?
How to reverse string in java?
What is difference between == and === in js?
What’s the difference between callable and runnable?
what is difference between business delegate and data access object(dao)? in java?
Can you declare an interface method static?
What is the covariant return type?