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
How does the java compiler work?
What is the difference between replace and replace all?
How many bytes is a string in java?
What is ternary operator in java?
Is there any difference between synchronized methods and synchronized statements?
How many static init can you have?
Does java initialize arrays to zero?
What are the two types of exceptions in java? Which are the differences between them?
What are java annotations?
Can static method access instance variables ?
What are keywords in java?
What is package private scope in java?
What do you understand by garbage collection in Java? Can it be forced to run?
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
why not override thread to make a runnable? : Java thread