XYZ interview question

Ihave asked about oops concepts,