class A { public A() { System.out.print("A"); } } class B extends A { public B() { super(); System.out.print("B"); }