r/java • • Jun 02 '18

5 Java concepts explained: Overloading, overriding, shadowing, hiding, and obscuring

https://programming.guide/java/overloading-overriding-shadowing-hiding-obscuring.html
240 Upvotes

23 comments sorted by

View all comments

2

u/whackri Jun 03 '18 edited Jun 07 '24

silky retire pie mourn waiting connect languid rain hateful stupendous

This post was mass deleted and anonymized with Redact

1

u/aioobe Jun 03 '18

Your understanding is correct and highlights the importance of consistently using @Override annotation.

Note that you can activate warnings/errors for "Missing @Override Annotation" under Settings > Editor > Inspections in IntelliJ (and other IDEs presumably have similar features).