Pregunta de entrevista de Capgemini

Basic java questions. Very easy.