Why a protected method of parent class in one package cannot be accessed using the parent reference in its child class which is in different package
What is the difference between public, protected, package-private and private in Java?