Infosys Interview Question

They asked about the OOPs concepts.