Architecting and designing : UML 2.0 Lite : UML models : UML class diagrams : Class
  
Class
A class describes a set of objects with similar structure, behavior, and relationships. A class is defined by various properties, including, most notably, attributes and methods.
The class is drawn as a rectangle with four compartments separated by horizontal lines.
1 The name of the class and all general properties of the class, including its class stereotype and whether it is an abstract class.
See Class stereotype and Abstract class.
2 A list of the class attributes.
See Class attribute.
3 A list of the methods and operations.
See Methods and operations.
4 A description of the Persistence property of the class (see Persistence).
By default, this compartment is turned off. To turn it on, right‑click any class on a Class diagram, and then click Display Mode. Select Persistence, and then click OK. This compartment is an extension to the UML specification.
Programming language
You must specify the language properties for a class: see Specifying language properties for a class.
See also
UML class diagrams