The UML Class diagram is a graphical notation used to construct and visualize object oriented systems. UML stand for Unified Modelling Language and closely related to object-oriented programming. UML diagram used widely to present a system or project/ application that based on object-oriented programming. In software engineering, a class diagram in the Unified Modeling Language is a type of static structure diagram that describes the structure of a system by showing the system’s classes, their attributes, operations, and the relationships among objects (Wikipedia). A class that showing 3 compartments (Figure 1) and the notations (Figure 2).
![](https://people.utm.my/egsu/wp-content/uploads/sites/2346/2021/10/Figure1_UML.jpg)
![](https://people.utm.my/egsu/wp-content/uploads/sites/2346/2021/10/UML_notation.jpg)