Class Diagram |
The class diagram is core to object-oriented design. It describes the types of objects in the system and the static relationships between them.
A class is a system
entity that models a real-world object. School,
Student and Course are all examples of classes. A
class is made up of attributes
which define the information that each class knows about itself and operations which are the processes that
a class can carry out. Often
you will see operations referred to as methods.
The association link indicates that two classes have a relationship: students attend a school, a student takes courses. Aggregation and composition are links between classes that allow you to indicate that one class belongs to another.
Related Topics: