Solved

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

Question 68

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents