// This is the derived class

package p1;

class Derived extends Protection {

        Derived() {
//        System.out.println("pri ="4 + pri);  Since it is private so it can't be inherited by its subclass from the same package

        System.out.println("pro " + pro);
        System.out.println("pub " + pub);
        }
}

