Vidyalelo
Java Programming · Q12

Threads

Programming · Java Programming · question 12

Q12

What is a deadlock in multithreading?

A.
A situation where a thread runs indefinitely without blocking
B.
A situation where all threads complete successfully
C.
A situation where a thread is terminated forcibly
D.
A situation where two or more threads are unable to proceed because they are each waiting for the other to release a resource
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board