Pregunta de entrevista de Persistent Systems

Write pen-paper code having some classes and inheritance structure.