ALSTOM interview question

All questions were based on oops concepts in java