Class notation a class is represented by a rectangle with three compartments The first compartment contains the name of the class the second compartment describes the attributes of the class and the third compartment describes the methods of the class8 Class Notation • A class is represented by a rectangle with three compartments. – The first compartment contains the name of the class; – the second compartment describes the attributes of the class; – and the third compartment describes the methods of the class