Pregunta de entrevista de Zithara

Basic java question and SQL questions.