Return to site

JAVA ANNOTATIONS: @Override & @SuppressWarnings

· java

@Override

@Override annotation informs the compiler that the element is meant to override an element declared in a superclass.

@SuppressWarnings

@SuppressWarnings annotation tells the compiler to suppress specific warnings that it would otherwise generate.