Citation:
Protected access is a level of access control in object-oriented programming that allows members (variables and methods) to be accessed within the same class, subclasses, and classes in the same package.
Allows unrestricted access to members from any class or package.
Restricts access to only within the same class.
Default Access: Allows access within the same package but not outside it.