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.


c. notify, notifyAll

Computer Science & Information Technology

You might also like to view...

Cell ____________________ refers to the space between the cell contents and the cell border.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The default file format in Access 2013 is the .accdb extension

Indicate whether the statement is true or false

Computer Science & Information Technology

The 1 in the expression *(gPtr + 1) is a(n) ____.

A. word B. byte C. offset D. scale

Computer Science & Information Technology

By default on Windows Server 2016, what is the processor scheduling set to prioritize?

A. It is set to prioritize programs. B. It is set to prioritize background services. C. It is set to prioritize user tasks. D. It is set to prioritize system monitoring services.

Computer Science & Information Technology