Multiple choice

Which of the following is not a method of Object class in Java?

  1. void finalize( )

  2. int hashCode( )

  3. Object clone( )

  4. int compareTo(Integer i)

  5. void notify( )

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

It is the method of Integer class.