Philips interview question

Polymorphism and oops concepts