XYZ Interview Question

Ihave asked about oops concepts,