Thoughtworks interview question

Airplane ticket reservations using OOPS