Infosys interview question

1st round basics of core java