Multiple choice technology web technology

wait(), notify(), notifyall() are methods of which class?

  1. Exception

  2. Class

  3. Object

  4. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The wait(), notify(), and notifyAll() methods are defined in the Object class, making them available to all Java objects. They're used for thread coordination and can only be called within synchronized contexts.