What is a deadlock ?

Answers were Sorted based on User's Feedback



What is a deadlock ?..

Answer / janet

When two threads are waiting each other and can't proceed
the program is said to be deadlock.

Is This Answer Correct ?    4 Yes 1 No

What is a deadlock ?..

Answer / ravikiran(aptech mumbai)

deadlock is the state which will occur when two synchronized
methods calling one another continuously

Is This Answer Correct ?    3 Yes 0 No

What is a deadlock ?..

Answer / annonmys

deadlock is the state when different processes are waiting
for the resorces held by any other processes, which in turn
are waiting for some other processes and so on. in this
situation no process is able to perform the required task
and hence goes in the deadlock state.

Is This Answer Correct ?    2 Yes 0 No

What is a deadlock ?..

Answer / madhuri reddy

if one process need a resourse,but it is used by another
process.then that process wait for sometime for that
resourse.that process wait sometime later it will go to
deadlock stage.

Is This Answer Correct ?    2 Yes 1 No

What is a deadlock ?..

Answer / hanu

If a process is waiting for a resource is using by
another process in that case deadlock encounter if its
waited undefinetly(For a certain period) ..

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we serialize singleton class?

0 Answers  


I have a Arraylist object, it has duplecate values also. Now question is i want delete duplecate data in that objet with out using Set?

8 Answers   Aricent,


why java uses class level type casting ?

0 Answers  


What is the purpose of garbage collection in java, and when is it used?

0 Answers  


What is the finalize method do?

0 Answers  






which one is performance wise advantageious from List,Set,Map?

6 Answers  


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

0 Answers  


What is reverse function?

0 Answers  


How to check if linked list contains loop in java?

0 Answers  


What is method overriding in java ?

0 Answers  


What are the features of junit?

0 Answers  


What are meta-annotations?

0 Answers   Cyient,


Categories