Purpose: Models the static structure of a system by showing its classes, their attributes, methods, and the relationships between them.
Represents a blueprint of objects. Itβs divided into three sections:
Example:
arduino
Copy code
+----------------------+
| Customer | β Class Name
+----------------------+
| name: String | β Attributes
| email: String |
+----------------------+
| register(): void | β Methods
| login(): bool |
+----------------------+