Infosys interview question

Questions were based on java programming and real time scenario problem solving skill