I recently came across the Java's @Override annotation. Why do we use it ? and What are the best practices for using it ?
Do we mark every single overridden method with the @Overrideannotation or Are there certain programming situations that call for using the @Override ? Also are there situations where we should never use the @Override?