Sonata Software interview question

Polymorphism in Oops, Some programming questions