Anonymous Content interview question

How to implement runtime polymorphism