Class diagram

From CSSEMediaWiki
Jump to: navigation, search

A class diagram is a graphical representation of classes. For each class, the class name, attributes, and methods are shown. Relationships between classes (aggregation, composition) are shown, as are inheritance hierarchies. UML is often used to draw class diagrams, especially in the Java context. Class diagrams are one tool to help developers understand design, and are often combined with Sequence and Use Case diagrams. As some designs can be very large, it is sometimes necessary to leave some details off the class diagram. A class diagram with only class names (no attributes or methods), that only shows the relationships between classes can be very useful, and a lot easier to look at.

Personal tools