Citi interview question

more on core java concepts, spring framework