Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1029 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 38p5Vn
Related Questions
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
Core Java : What must a class do to implement an interface?

What must a class do to implement an interface?

It must implements all of the methods in the interface.
Category: Core Java Date: 11/7/2010 3:08:48 PM
Core Java : What is the relationship between a method's throws clause and the exceptions  that can be thrown during the method's execution?

What is the relationship between a method's throws clause and the exceptions that can be thrown dur....

A method's throws clause must declare any checked exceptions that are not caught within the body of ....
Category: Core Java Date: 11/7/2010 2:56:54 PM
Core Java : What is the difference between TCP/IP and UDP?

What is the difference between TCP/IP and UDP?

TCP/IP is a two-way communication between the client and the server and it is a reliable and there i....
Category: Core Java Date: 11/7/2010 1:51:52 PM