Forse non ho capito bene quali sono i tuoi dubbi, ma.. stai facendo delle prove per arrivare a quello che c'e' gia' scritto nel manuale?

Class members declared public can be accessed everywhere. Members declared protected can be accessed only within the class itself and by inherited and parent classes. Members declared as private may only be accessed by the class that defines the member.