Private variables, are variables that are visible only to the class to which they belong . Protected variables, are variables that are visible only to the class to which they belong, and any subclasses.
Private variables, are variables that are visible only to the class to which they belong . Protected variables, are variables that are visible only to the class to which they belong, and any subclasses.