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...

In order to build decision tables, what does the analyst not need to do?

A) Eliminate any impossible situations. B) Simplify the table as much as possible. C) Determine the minimum size of the table. D) Eliminate inconsistencies.

Computer Science & Information Technology

If you export a subdirectory but do not export the entire file system, the NFS server performs a ____ check.

A. reliability B. directory C. segment D. subtree

Computer Science & Information Technology

Use a multilevel list if you wish to visually represent numbers as facts

Indicate whether the statement is true or false

Computer Science & Information Technology

The first step in creating a CSS layout is to create ____ elements in the HTML page.

A. table B. id C. format D. div

Computer Science & Information Technology