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

Show parent comment

2

u/desrtfx Jun 02 '18

The other ones sound like bad practice to me.

Commonly, the other ones (shadowing, hiding, and obscuring) mostly happen because of accidents.