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 object english?
How we can execute any code even before main method?
What is final method?
Why is it called boolean?
Which collection is ordered in java?
What is an object's lock and which object's have locks in java programming?
How dead lock situation occurs in java and how you can identify it?
What is string variable?
How we can run a jar file through command prompt in java?
What is the difference between length and size in java?
What are the restrictions imposed on method overriding?
How can you read an integer value from the keyword when the application is runtime in java? example?
How can you traverse a linked list in java?
What is return type in java?
What is difference between static class and normal class?