Infosys interview question

java, j2ee