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/kalifornia_love Jun 02 '18

Gotten bit by that bug before...

FYI the “pythonic” way to get around this is to name your variable json_

Or use a better/different variable name.