Technovert interview question

Questions on java. Logical questions. Some puzzles etc