Amadeus interview question

what is heap in java