Multiple choice technology programming languages

what are the types of methods for object class

  1. wait(), toString() only

  2. notify(), notifyall() only

  3. run(), stop()

  4. wait(),toString(),notify(), notifyall() and finalize()

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

The Java java.lang.Object class contains methods like wait(), toString(), notify(), notifyAll(), and finalize(). Methods like run() and stop() belong to the Thread or Runnable interfaces, not the Object class.