Next Index of defined terms etc. A Person's name is a string and so is their address. A Person's age is an int. Certain things can happen to a Person. Do not make the mistake of drawing a box for every attribute and operation.
All attributes are in one compartment and all operations in the next one.
The UML defines only three compartments for classes. The compartments for the operations and attributes can be left out. However the UML does not define the purpose and meaning of any new compartments. So other people will not understand what these new compartments mean. We then connect up the boxes to show the various relationships between the objects.