Amadeus interview question

Explain the how polymorphism works?