protected

protected
Declaring a constructor, method, or field protected indicates that it can be seen only within the declaring class, subclasses of this class, and other classes within the package that contains the class.

ProfessorJ Advanced Language