notifyAll() wakes up all the threads that called wait() on the same object. The highest priority thread will run first.
Previous Question Next Question
Your comments will be displayed only after manual approval.