Exam4Training

What is the expected output of the code?

The following class hierarchy is given.

What is the expected output of the code?

A . BB
B . CC
C . AA
D . BC

Answer: D

Exit mobile version