FDM Group interview question

Relationship between inheritance and polymorphism