Infosys Interview Question

questions about object oriented concepts