What is a deadlock ?

Answer Posted / janet

When two threads are waiting each other and can't proceed
the program is said to be deadlock.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? : Java thread

520


How many ways can we create the string object?

524


Can vector have duplicates in java?

495


What is the right data type to represent a price in java?

560


How do you create a null object?

499






Is space a string in java?

506


Why are the objects immutable in java?

538


What is the difference between yield() and sleep()?

534


In which language java is written?

526


What does %d do in java?

570


Explain the public class modifier?

493


Explain the difference between private, public, package and protected in java?

587


What is meant by null and void?

526


What is the benefit of inner classes in java?

594


Can we execute a program without main() method?

524