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
What is public/private protected in java?
What is slash r?
what is ststic with example
What is final keyword in java?
How can we break singleton in java?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
How many bytes is 255 characters?
Difference between object and reference?
Which graphs are functions?
Is java a digit method?
Write a program to show whether a graph is a tree or not using adjacency matrix.
What is difference between identifier and variable?
Explain the difference between protected and default access.
Is heap stored in ram?
What are the uses of java?