class A {
A(C c) {}
static class B extends A {
B() {
super(new C());
}
B(int x) {
super(getC());
}
B(double x) {
super(c);
}
}
class B1 extends A {
B1() {
super(new C());
}
B1(int x) {
super(getC());
}
B1(double x) {
super(c);
}
}
private C getC() {
return new C();
}
private C c = new C();
private class C {}
}