A

Admin • 833.24K Points
Coach

Q. Which method notifies all threads waiting on an object's monitor?

  • (A) notify()
  • (B) wakeAll()
  • (C) notifyAll()
  • (D) startAll()

Explanation by: Admin

`notifyAll()` wakes up all threads that are waiting on that object's monitor.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.