InnovationM interview question

Upcasting and downcasting