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 happens if an exception is throws from an object's constructor?

627


What is downcasting?

574


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

511


What is local variable and instance variable?

609


What is hash table in java?

494






State the merge-sort principle and its time complexity.

573


How do you get length in java?

557


Why are the methods of the math class static?

580


What is application system?

503


What do you mean by stream pipelining in java 8?

738


What does regex mean?

571


What are aggregate functions explain with examples?

524


What do you mean by of string::valueof expression in java 8?

541


Can we call thread start () twice?

519


Why destructor is not used in java?

521