private
– only available to be accessed within the class that defines them.
protected
– accessible in the class that defines them and in other classes which inherit from that class.
private
– only available to be accessed within the class that defines them.
protected
– accessible in the class that defines them and in other classes which inherit from that class.