Pregunta de entrevista de Prizeout

Object oriented programming design problem