Publicis Sapient interview question

Describe inheritance and polymorphism in OOPS