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

What is the difference between superclass and subclass?

0 Answers  


How do you check if a string contains only numeric digits?

0 Answers  


What are the differences between checked exception and unchecked exception?

0 Answers  


What is keyset in java?

0 Answers  


What is covariant return type?

0 Answers  






When can you say a graph to be a tree?

0 Answers   Amazon,


In case of inheritance what is the execution order of constructor and destructor?

0 Answers   Agilent,


Why do we use return statement?

0 Answers  


What is meant by method overriding?

0 Answers  


What is difference between core java and java ee?

0 Answers  


What are the 8 primitive data types in java?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


Categories