package generation1;

    // This class must be public in order to allow
    // classes in other packages to extend it.
public class Parent {
    public int getMiddle(){
        return middle;
    }

    // Protected access.
    protected void setMiddle(int m){
        middle = m;
    }

    private int middle;
}
