Class diagrams show the static structure of a system. Specifically, this includes entities that exist (such as classes and types) and their internal structure. Class diagrams also depict collaborations and relationships between classes and inheritance structures.
A class diagram can also show instances (or objects) and links between objects. Class diagrams define a vocabulary for the system and can become the basis for component and deployment diagrams. In addition, class diagrams form the basis of visualization, specification, documentation, and implementation of the structure of a system. (By implementation, for example, Together synchronizes class diagrams to source code).
Related Topics: