Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 873 Page Views: 

What is deadlock?



Posted By: Avi Date: 8 November 2010 06:13:50 AM
 Answer:

Deadlock is a problem happens when two threads are waiting on each other to release a resource and each thread waiting for a resource which is held by the other waiting thread.


Posted By: avibtech


Date: 8 November 2010 06:13:50 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image b1dCwv
Related Questions
Core Java : What method must be implemented by all threads?

What method must be implemented by all threads?

All the thread objects must implement the run() method, whether they are a subclass of Thread or imp....
Category: Core Java Date: 9/12/2009 8:12:44 PM
Core Java : What is the difference between an if statement and a switch statement?

What is the difference between an if statement and a switch statement?

The if statement is used to select among two alternatives. It uses a boolean expression to decide wh....
Category: Core Java Date: 9/12/2009 8:10:53 PM
Core Java : Does Java supports multiple inheritance?

Does Java supports multiple inheritance?

Java does not support multiple inheritence directly but it does through the concept of interfaces. ....
Category: Core Java Date: 9/12/2009 8:08:22 PM
Core Java : Does Java has "goto" statement?

Does Java has "goto" statement?

No
Category: Core Java Date: 9/12/2009 8:06:29 PM
Core Java : What is the difference between == and equals method?

What is the difference between == and equals method?

equals checks for the content of the string objects while == checks for the fact that the two String....
Category: Core Java Date: 9/12/2009 8:05:29 PM