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 many ways can an argument be passed to a subroutine and explain them?
What is parameters example?
can we declare private class in java file?
What does the “static” keyword mean?
What is operator overloading. Is it is supported in java?
What is a singleton class in Java? And How to implement a singleton class?
What is meant by call by reference?
what is main purpose of abstract class?
what is the difference between process and thread? : Java thread
What are the types of relation?
What is the function of http?
what is d difference between deep cloning and shallow cloning in core java?