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 |
What is the difference between dom and sax parser in java?
What is an iterator interface in java programming?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What do you mean by formatting?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
What does += mean in java?
What are the advantages of the model over the event- inheritance model?
What is a private class in java?
Functionality of JVM?
Why is stringbuffer called mutable?
why static class in java or what is use of static class in java
What is Hierarchy of exception?