Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 783 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 q5OGXH
Related Questions
Core Java : Can the object that is garbage collected be reachable again?

Can the object that is garbage collected be reachable again?

No, it is once that an object is garbage collected.
Category: Core Java Date: 11/7/2010 6:02:49 PM
Core Java : Can an object be garbage collected while it is still reachable?

Can an object be garbage collected while it is still reachable?

A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected.
Category: Core Java Date: 11/7/2010 5:18:53 PM
Core Java : Can Thread be serialized?

Can Thread be serialized?

No
Category: Core Java Date: 11/7/2010 4:57:47 PM
Core Java : when a thread cannot acquire a lock on an object?

when a thread cannot acquire a lock on an object?

It enters the waiting state until the lock becomes available.
Category: Core Java Date: 11/7/2010 3:41:50 PM
Core Java : What state does a thread enter When it blocks on I/O?

What state does a thread enter When it blocks on I/O?

A thread enters the waiting state.
Category: Core Java Date: 11/7/2010 3:08:49 PM
 
Find Best Deals @