Fiserv interview question

Polymorphisom with examples