Infosys interview question

Normal questions about programming, OOPs, inheritance etc