Forus Health interview question

Typecasting in inheritance ?