HSBC interview question

Types of inheritance and polymorphism