class A {
protected int i;
A(int i) {
this.i = i;
}
class B {
B() {
System.out.println("i = " + i);
}
}
public static void main(
String args[])
{
B b = new A(10).new B();
}
}
U r right the ans is A C.
the ans they have given are wrong u can try the above code