golla
when you say that the constructor is executing doesnt that mean that the class is being instantiated???
they are the same thing.
and you are right when you say that the constructor of super class is called first.
thats why you get X in the second place. It has already happened.
So in your main method when you call the class, parent gets called first wich calls Y and then child gets called which calls Y again.
got it???
