Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 963 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 sn8MDk
Related Questions
Core Java : What are wrapped classes?

What are wrapped classes?

Wrapped classes are classes that enble you to access primitive types as objects.
Category: Core Java Date: 11/9/2010 2:35:48 AM
Core Java : What modifiers may be used with an interface declaration?

What modifiers may be used with an interface declaration?

An interface may be declared as public or abstract.
Category: Core Java Date: 11/9/2010 2:23:53 AM
Core Java : What is an object's lock?

What is an object's lock?

An object's lock obtains synchronized access to the object by multiple threads.
Category: Core Java Date: 11/9/2010 12:12:50 AM
Core Java : Under what conditions is an object's finalize() method invoked by the garbage collector?

Under what conditions is an object's finalize() method invoked by the garbage collector?

The garbage collector invokes an object's finalize() method when it detects that the object has beco....
Category: Core Java Date: 11/8/2010 11:28:54 PM
Core Java : What is the difference between Byte Streams and Character Streams?

What is the difference between Byte Streams and Character Streams?

Byte Streams provide a convenient means for handling input and output of bytes.  And Character ....
Category: Core Java Date: 11/8/2010 10:23:52 PM