Pregunta de entrevista de ING

Java OOP, Code outputs and explanations for it