what is deadlock in threads?
with example

Answer Posted / moorthyks

Two or more thread waiting for each other is called deadlock

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a lambda expression ? What's its use ?

561


Are there structures in java?

552


Explain about data types?

571


When is the finalize() called? What is the purpose of finalization?

577


How is a variable stored in memory?

523






How is hashcode calculated in java?

498


What is preparedstatement in java?

555


Is it necessary for the port addresses to be unique? Explain with reason.

573


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

604


Can memory leak happen java?

594


How does java pattern compile work?

542


What is an off by one error in java?

496


What does || mean in vectors?

472


Is final static java?

545


Does google use java?

530