Solved

When a Thread Obtains the Monitor Lock on an Object,then

Question 14

Multiple Choice

When a thread obtains the monitor lock on an object,then determines that it cannot continue with its task on that object until some condition is satisfied,the thread can call Object method ________;this releases the monitor lock on the object,and transitions the thread waits to the waiting state.


A) waitForOtherThreads
B) stop
C) waitForCondition
D) wait

Correct Answer:

verifed

Verified

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

Related Questions