


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



A class diagram depicts classes and their interrelationships
Used for describing structure and behavior in the use cases
Provide a conceptual model of the system in terms of
entities and their relationships
Used for requirement capture, end-user interaction
Detailed class diagrams are used for developers
Each class is represented by a rectangle subdivided into three compartments Name Attributes Operations
Modifiers are used to indicate visibility of attributes and operations.
By default, attributes are hidden and operations are visible.
OO Relationships
There are two kinds of Relationships
Generalization (parent-child relationship) Association (student enrolls in course)
Associations can be further classified as
Aggregation
Composition