Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 932 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 NOluWg
Related Questions
Core Java : Why java is said to be pass-by-value ?

Why java is said to be pass-by-value ?

When assigning an object to a variable, we are actually assigning the memory address of that object ....
Category: Core Java Date: 11/5/2010 7:20:51 AM
Core Java : What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?

What happens if a try-catch-finally statement does not have a catch clause to handle an exception th....

The exception propagates up to the next higher level try-catch statement (if any) or results in the ....
Category: Core Java Date: 11/5/2010 6:36:55 AM
Core Java : Does garbage collection guarantee that a program will not run out of memory?

Does garbage collection guarantee that a program will not run out of memory?

No, It clears the memory from objects without refrences.
Category: Core Java Date: 11/5/2010 5:42:47 AM
Core Java : What is HashMap and Map?

What is HashMap and Map?

Map is Interface and HashMap is class that implements that.
Category: Core Java Date: 11/5/2010 5:31:52 AM
Core Java : Why ArrayList is faster than Vector?    

Why ArrayList is faster than Vector?    

Because Vector is synchronized and synchronization reduces the performance.
Category: Core Java Date: 11/5/2010 4:58:51 AM