TSS Consultancy interview question

OOP Questions about polymorphism inheritance etc