Unit-5 Class Diagrams
Unit-5 Class Diagrams
Customer Simple
1
Class Aggregation
Composition Simple
Generalization
Association
Checkout Screen
DVD Movie VHS Movie Video Game
Usage of Class diagrams
• The class diagram is used to represent a static view of the system. It plays an essential role in the
establishment of the component and deployment diagrams. It helps to construct an executable code to
perform forward and backward engineering for any system, or we can say it is mainly used for construction.
It represents the mapping with object-oriented languages that are C++, Java, etc. Class diagrams can be used
for the following purposes:
• To describe the static view of a system.
• To show the collaboration among every instance in the static view.
• To describe the functionalities performed by the system.
• To construct the software application using object-oriented languages.