HCL Interview Question

Opps concepts?