Multiple choice

Which of the following methods of the Object class are declared as final in java?

  1. getClass()

  2. notify()

  3. wait()

  4. all of the above

  5. only (1) and (2) are true

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

Yes, all of the above methods are declared final in Object class.