Valentin Ivanov wrote:So shouldn't the answer be YYXZ?
instantiate Z
---> super() of Z, ie. instantiate X portion
--------> super() of X, ie. Object portion
--------> variables of X, prints ................................. Y
--------> rest of X constructor, prints ....................... X
---> variables of Z, prints ....................................... Y
---> rest of Z constructor, prints ............................. Z
Henry