Pregunta de entrevista de Infor

4 questions in Java + 1 question in Javascript.