hi,
I think the explaination for the answer is correct. And u r also saying the same. First the derived class construtor is called, agreed. However it then calls the super, completes that and then comes to its own constructor.
check this out:
==========================
class TestInt{
TestInt()
{
System.out.println("in TestInt") ;
}
}
==========================
class Child extends TestInt
{
Child()
{
System.out.println("in Child") ;
}
public static void main(
String args[])
{
Child myChild = new Child();
}
}
=========================================
The output is:
in TestInt
in Child