Complete Class with Three Compartments
Completed class definition
- First compartment is the name of the class
- Second compartment are the attributes of the class which will be translated into data members
- The third part of the class are the accessors and mutators, also known as getters and setters
- Name compartment
- Attribute compartment
- Operation compartment
- Class name
- Properties
- Stereotype