what is deadlock in threads?
with example
Answer Posted / 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 |
Post New Answer View All Answers
How do you define a set in java?
What happens if an exception is not handled in a program?
Write a program to reverse array in place?
How do you sort arraylist in descending order?
What are the topics in core java?
What is oops in java?
What is memory leak and how does java handle it?
What will happen if static modifier is removed from the signature of the main method?
What is the reflection?
What is static data type in java?
Why is it called buffering?
What is a method type?
What does index mean in java?
Is boolean a data type in java?
What is the point of java?