Solved

When a Thread Executing a Synchronized Statement (Or Method) Completes

Question 38

Multiple Choice

When a thread executing a synchronized statement (or method) completes or satisfies the condition on which another thread may be waiting, it can call Object method ________ or ________ to allow a waiting thread or all waiting threads to transition to the runnable state again.


A) notifyThread, notifyAllThreads
B) wakeUpThread, wakeUpAllThreads
C) notify, notifyAll
D) None of the above.

Correct Answer:

verifed

Verified

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

Related Questions