Multiple choice technology testing

A Deadlock is a situation in which…

  1. A cycle of threads is blocked as they are waiting for resource which is being held by another thread in cycle

  2. Object is waiting for garbage collection

  3. Java Application is having Memory Leaks

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A deadlock is a state where a set of threads are permanently blocked because each thread holds a resource and waits for another resource held by another thread in the cycle. The distractors are incorrect because garbage collection and memory leaks relate to memory management issues, not thread synchronization conflicts.