Class diagram

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
(New page: 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 sh...)
 
m (Reverted edits by Ebybymic (Talk); changed back to last version by David Thomson)
 
(One intermediate revision by one user not shown)

Latest revision as of 03:08, 25 November 2010

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