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
Is java platform independent?
What is json parser in java?
What is use of a abstract variable?
What is a byte array?
How to find the largest value from the given array.
What state does a thread enter when it terminates its processing in java programming?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Can we have multiple catch block for a try block?
What is contract between hashcode and equal method?
Discuss different types of errors that generally occur while programming.
Can we synchronize static methods in java?
explain copyonwritearraylist and when do we use copyonwritearraylist?
Can you add null to a list java?
Can I import same package/class twice?
Define jre i.e. Java runtime environment?