Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1094 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 crgTya
Related Questions
Core Java : When you invoke a thread's interrupt method while it is  sleeping or waiting, What happens?

When you invoke a thread's interrupt method while it is sleeping or waiting, What happens?

When a task's interrupt() method is executed, the task enters the ready state. The next time the tas....
Category: Core Java Date: 11/3/2010 10:38:50 AM
Core Java : What value does readLine() return when it has reached the end of a file?

What value does readLine() return when it has reached the end of a file?

The readLine() method returns null when it has reached the end of a file.
Category: Core Java Date: 11/3/2010 9:22:52 AM
Core Java : What is the difference between a field variable and a local variable?

What is the difference between a field variable and a local variable?

A field variable is a variable that is declared as a member of a class. A local variable is a variab....
Category: Core Java Date: 11/3/2010 9:21:54 AM
Core Java : What is the difference between Hashtable and HashMap?

What is the difference between Hashtable and HashMap?

Hashtable is synchronized and does not allow null values. HashMap is not synchronized and allows nul....
Category: Core Java Date: 11/3/2010 8:16:51 AM
Core Java : What is a Vector?

What is a Vector?

A Vector is a grow able array of objects.
Category: Core Java Date: 11/3/2010 7:43:50 AM