Infosys interview question

They focus on Core java part