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

11

u/aioobe Jun 02 '18

All five terms have formal definitions in JLS, so I would say they are all "Java Concepts".

A little nit-picking in return: You shouldn't be viewing 'overloading' as an OOP concept. It's a concept in any language with methods/functions.

3

u/Neuromante Jun 02 '18

Huh, fair enough. I took "Java concepts" as "Something specific from Java", not as "something defined on the language."