Pergunta de entrevista da empresa Fidelity Investments

How would you structure a bookshelf class in Java?