The keyword protected indicates that the protected class / protected method / protected variable / protected constructor can be called by an object only if it is in the same package or subclass. This means that you could call the protected class / protected method / protected variable / protected constructor from other packages only if the in the other package is a subclass of the class you are working in.