protected

attributes and methods that are protected are accessible to methods of the class and every subclass (direct or inderect) of that class.