Question d’entretien chez AdMedia

In any object oriented coding language, design a cache system that evicts the oldest object.