Java - Constructors
What will be the output of the following code?
class A {
A() { System.out.print("A"); }
}
class B extends A {
B() { System.out.print("B"); }
}
public class Test {
public static void main(String[] args) {
new B();
}
}