Can you please explain "member reference to the same class or a subclass" in the following context?
A member is used through a variable. This is the case on lines 10, 11, 15, and 16.
In this case, the rules for the reference type of the variable are what matter. If it is a
subclass, protected access is allowed. This works for references to the same class or a