Infosys Interview Question

Mostly Java basics question. No any algorithm questions.