Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 786 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 rdNYSX
Related Questions
Core Java : What is static initializer block?

What is static initializer block?

A static initializer block is a block of code that declares with the static keyword and execute at t....
Category: Core Java Date: 11/2/2010 8:38:51 PM
Core Java : What is the difference between Iterator and Enumeration?

What is the difference between Iterator and Enumeration?

Iterator allows the caller to remove elements from the underlying collection during the iteration wi....
Category: Core Java Date: 11/2/2010 8:05:51 PM
Core Java : What method is invoked to cause an object to begin executing as a separate thread?

What method is invoked to cause an object to begin executing as a separate thread?

The start() method of the Thread class
Category: Core Java Date: 11/2/2010 7:33:49 PM
Core Java : What is the purpose of the finally clause of a try-catch-finally statement?

What is the purpose of the finally clause of a try-catch-finally statement?

It is used to provide the capability to execute code no matter if an exception is thrown or not.
Category: Core Java Date: 11/2/2010 7:01:48 PM
Core Java : What restrictions are placed on method overloading?

What restrictions are placed on method overloading?

Two methods may not have the same name and argument list but different return types.
Category: Core Java Date: 11/2/2010 6:49:54 PM
 
Find Best Deals @