Infosys interview question

questions about object oriented concepts