Prodapt Solutions interview question

What is inheritance and polymorphism.