A class diagram models the static structure of a system. It shows relationships between classes, objects, attributes, and operations.
1 Class Diagrams and Entity Relationship Diagrams (ERD) Class diagrams and ERDs both model the structure of a system. Class diagrams represent the dynamic aspects of a system: both the structural and behavioural features. ERDs, depicting only structural features provide a static view of the system. 2 Class Diagrams Elements of a class diagram: class Class Name