Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 822 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 KzkXis
Related Questions
Core Java : What is the purpose of garbage collection?

What is the purpose of garbage collection?

The purpose of garbage collection is to identify and discard objects that are no longer needed by a ....
Category: Core Java Date: 11/6/2010 6:35:55 PM
Core Java : What is a marker interface ?

What is a marker interface ?

It is an interface that doesn’t contain methods and it is used to mark java classes that support cer....
Category: Core Java Date: 11/6/2010 4:25:51 PM
Core Java : What is the highest-level event class of the event-delegation model?

What is the highest-level event class of the event-delegation model?

The java.util.EventObject class is the highest-level class in the event-delegation class hierarchy.
Category: Core Java Date: 11/6/2010 2:35:53 PM
Core Java : Can the constructor be declared private?

Can the constructor be declared private?

Yes, in this case, you can’t create any instance for this class by using new.
Category: Core Java Date: 11/6/2010 2:15:46 PM
Core Java : What is the purpose of the System class?

What is the purpose of the System class?

The System class provides access to system resources.
Category: Core Java Date: 11/6/2010 2:03:52 PM