Problem Analysis  «Prev 

Complete Class with Three Compartments

Completed class definition
  1. First compartment is the name of the class
  2. Second compartment are the attributes of the class which will be translated into data members
  3. The third part of the class are the accessors and mutators, also known as getters and setters

  1. Name compartment
  2. Attribute compartment
  3. Operation compartment
  4. Class name
  5. Properties
  6. Stereotype