Infosys interview question

What is inheritance/polymorphism?