1 public class Child extends Base{ 2 private int a; 3 4 Child(int value){ 5 /* Code goes here */ 6 } 7 8 public static void main(String[] args) { 9 Base b = new Child(10); 10 System.out.println(b.getA()); //This should print 10 11 } 12 }