[HD Pg 0, Sec. 4.4.2 - scope-and-visibility]
Posted: Mon Jan 06, 2020 11:47 pm
In this chapter , you refer to the terms shadowing and hiding. You said they have different meaning in Java . I understand your explanation of shadowing (a variable in a method shadows a variable with the same name declared at class level).
What about hiding ? can you please give an example ? . Thank you.
What about hiding ? can you please give an example ? . Thank you.