Infosys interview question

OOP concepts (polymorphism, inheritance, abstraction, etc.)