I have simple three classes:
class A {
public A(int a){ }
}
class B extends A {
public B(int b){ super(b); }
}
class C extends B {
public C(int c){ super(c); }
}
So, the order of execution during class instancing is C->B->A->B->C and all objects are instantiated correctly. Then, the question:
CAN I in some way write a constructor for C class like this:
public C(int c){
super.super(c);
}
The idea is to call the constructor from A class, not from immediate parent B. Is this possible?