class GrandParent { int a; GrandParent(int a) { this.a = a; } } class Parent extends GrandParent { int b; Parent(int a, int b) { super(a); this.b = b; } void show() { System.out.println("GrandParent's a = " + a); System.out.println("Parent's b = " + b); } } class Child { public static void main(String[] args) { Parent object = new Parent(8, 9); object.show(); } }

About Admin MC3
This is dummy text. It is not meant to be read. Accordingly, it is difficult to figure out when to end it. But then, this is dummy text. It is not meant to be read. Period.