Amadeus interview question

Object oriented