The first constructor U()
calls the second constructor U(int x)
via the this(2)
call.
The second constructor U(int x)
calls the super class constructor T()
implicitly.
Which means both U
constructors call the super class constructor, either directly or indirectly.
solved Super constructor call order [duplicate]