Annotations provide metadata about your code, influencing how it is compiled or run. @Override ensures you correctly override a method.
Source Code
@Override
public String toString() {
return "Override example";
}
@SuppressWarnings("unchecked")
public void myMethod() {
}