Pregunta de entrevista de Ericsson

basic java question mixed in with design patterns