Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Q33: Which of the following statements is false?<br>A)
Q34: Which of the following statements is false?<br>A)
Q35: Interface ExecutorService provides the _ method, which
Q36: The ArrayBlockingQueue method _ returns the number
Q37: When using Java's built-in monitors, every object
Q39: It’s recommended that you do not explicitly
Q40: The preferred means of creating multithreaded Java
Q41: A runnable thread enters the _ state
Q42: You can simulate atomicity by ensuring that
Q43: Arrays static method _ fills an array