Pregunta de entrevista de Fidelity Investments

How would you structure a bookshelf class in Java?