Pregunta de entrevista de F5

Object oriented question was a bit tricky