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

Computer Science & Information Technology

You might also like to view...

A database is a collection of the data that companies spend a lot of time and money on gathering

Indicate whether the statement is true or false

Computer Science & Information Technology

A font scheme includes a primary, secondary, and tertiary font

Indicate whether the statement is true or false

Computer Science & Information Technology