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 |
Explain java thread life cycle.
what is difference between requestprocessor and request dispatcher?
How we can declare a static variable?
What happens if we don’t define serial version uid?
When is the finally clause of a try-catch-finally statement executed?
Is an empty arraylist null?
What is null statement?
What is the size of boolean variable?
What are the three parts of a lambda expression?
What is the Vector class?
Why does it take so much time to access an applet having swing components the first time?
Explain about anonymous inner classes in java?