Hai Priyanka,
The answer is c. Your assumption (answer d) would have been correct if the Bclass constructor did not call super(3).
Say, the Bclass constructor has simply been omitted or has nothing in its body, then a no-argument super class constructor would have been called by default as you said.
The choice would be d for this case :
class AClass {
static int x;
AClass(int x) { this.x = x; }
}
public class BClass extends AClass {
BClass() {} // or if this line has been commented out. public static void main(
String[] args) {
BClass BC = new BClass(); System.out.println(x);
}
}
Hope this helps.