+ 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 Respuesta
En tendencia hoy
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes