Fidelity Investments Interview Question

Class diagram for a library management system, then explain inheritance based on your UML