Infosys Interview Question

Explain oops concepts