Infosys Interview Question

Basically focused on object oriented programming.