public class MainClass { public static void main(String[] argv) { new MySubclass(); } } class MyClass { int i = 9; public MyClass() { } } class MySubclass extends MyClass { public MySubclass() { super(); System.out.println(super.i); } }
9