Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 857 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 jMlSaS
Related Questions
Core Java : What is the difference between "while" and "do while" statements in Java?

What is the difference between "while" and "do while" statements in Java?

"while" statement checks the condition at the beginning of a loop to see whether the next ....
Category: Core Java Date: 11/9/2009 6:16:44 AM
Core Java : Expain each keyword of public static void main(String args[])?

Expain each keyword of public static void main(String args[])?

public: main() is the first method called by java environment when a program is executed so it has t....
Category: Core Java Date: 11/9/2009 6:12:58 AM
Core Java : What gives java it's "write once and run anywhere" nature?

What gives java it's "write once and run anywhere" nature?

All Java programs are compiled into class files that contain bytecodes. These byte codes can be run ....
Category: Core Java Date: 11/9/2009 6:09:51 AM
Core Java : What method must be implemented by all threads?

What method must be implemented by all threads?

All threads must implement the run() method, whether they are a inherite from Thread class or implem....
Category: Core Java Date: 10/30/2009 5:10:31 AM
Core Java : What are the different scopes for Java variables?

What are the different scopes for Java variables?

The scope of a Java variable is determined by the context in which the variable is declared. Thus a ....
Category: Core Java Date: 10/30/2009 4:56:04 AM