Infosys interview question

Java basics , programing fundamentals, Puzzles, database