UML class diagrams show the classes of the system, their interrelationships ( inheritance, aggregation, and association), and their operations and attributes.