what is deadlock in threads?
with example

Answers were Sorted based on User's Feedback



what is deadlock in threads? with example..

Answer / moorthyks

Two or more thread waiting for each other is called deadlock

Is This Answer Correct ?    18 Yes 3 No

what is deadlock in threads? with example..

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

Post New Answer

More Core Java Interview Questions

What is the difference between sleep and wait in java?

0 Answers  


Give a brief description of java socket programming?

0 Answers  


Is simpledateformat safe to use in the multithreaded program?

0 Answers  


What does replaceall do in java?

0 Answers  


What exactly is java?

0 Answers  






What is the purpose of skeleton and stub?

0 Answers  


What does int argc char * argv [] mean?

0 Answers  


What are the drawbacks of reflection?

0 Answers  


Explain an algorithm to find depth of a binary tree.

0 Answers   Akamai Technologies,


What is multiple inheritance & can we implement it in java?

6 Answers   Satyam,


Tell us something about an iterator.

0 Answers  


can any one tell me when do u go for inheritance and polymorphism

3 Answers  


Categories