Multiple choice

Which method is not overridden by Annotation interface?

  1. hashCode()

  2. equals()

  3. clone()

  4. toString()

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

This answer is correct. Annotation interface overrides only three methods hashCode(), toString() and equals() methods. All the methods in Object class other than hashCode(), toString() and equals() are not overridden by the Annotation interface.