package Test; public class Child extends Base{ private int x; public Child(int x) { super(x); this.x=x; } public void hello() { for(int i=0;i