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

d. wait

Computer Science & Information Technology

You might also like to view...

Is an example of a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is the typical range of transmission for a WPAN?

A. 3 feet B. 10 meters C. 14 feet D. 22 meters

Computer Science & Information Technology