Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 888 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 7RqfO1
Related Questions
Core Java : How to force garbage collector to run?

How to force garbage collector to run?

By using System.gc().
Category: Core Java Date: 11/4/2010 3:10:47 PM
Core Java : Which class is extended by all other classes?

Which class is extended by all other classes?

The Object class is extended by all other classes.
Category: Core Java Date: 11/4/2010 2:58:53 PM
Core Java : Why java does not support multiple inheritance?

Why java does not support multiple inheritance?

Because the multiple inheritance causes the redundancy and diamond problem can’t be solved.
Category: Core Java Date: 11/4/2010 2:26:51 PM
Core Java : What are the high-level thread states?

What are the high-level thread states?

The high-level thread states are ready, running, waiting, and dead
Category: Core Java Date: 11/4/2010 1:21:50 PM
Core Java : How does a try statement determine which catch clause should be used to handle an exception?

How does a try statement determine which catch clause should be used to handle an exception?

When an exception is thrown within the body of a try statement, the catch clauses of the try stateme....
Category: Core Java Date: 11/4/2010 1:09:55 PM