Solved

What Happens When a Thread Calls the SignalAll Method of a Condition

Question 30

Multiple Choice

What happens when a thread calls the signalAll method of a Condition object connected to a lock, if no other thread had called await on that Condition object?


A) A compiler error.
B) A checked exception is thrown.
C) The unlock method call will block.
D) Nothing, the program executes normally.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions