// This File is to access the variables of the file Protection.java

package p1;

class SamePackage {

	SamePackage() {
		
 	Protection p = new Protection();
	System.out.println("same package constructor");
	System.out.println("p.n");

//	System.out.println("Private" +p.pri);           Since it is private so it can't be inherited by its subclass from the same package
	System.out.println("protected" +p.pro);
	System.out.println("public" +p.pub);
	}
}
