#variable-shadowing
Read more stories on Hashnode
Articles with this tag
Variable shadowing occurs when a local variable (inside a method, constructor, or block) has the same name and type as an instance variable (declared...