Pregunta de entrevista de Technovert

Questions on java. Logical questions. Some puzzles etc