Pregunta de entrevista de Focused

Simple OOP problems in succession.