+ 1

why protected member var is visible?

why main method can access protected member var? isn't the ptotected can only be visible by self and sub-class? https://code.sololearn.com/cB52QHCu0B7V/?ref=app

18th Sep 2017, 3:14 AM
frluo
frluo - avatar
1 ответ