You are on page 1of 1

Definition

A class is a set of objects that share a common structure and common behavior (the
same attributes, operations, relationships and semantics). A class is an abstraction
of real-world items. When these items exist in the real world, they are instances of
the class and are referred to as objects.

For each class that has significant temporal behavior, you can create an activity
diagram or a statechart diagram to describe this behavior.
Graphical Depiction

A class icon is drawn as a 3-part box, with the class name in the top part, a list of
attributes (with optional types and values) in the middle part, and a list of
operations (with optional argument lists and return types) in the bottom part.

The attribute and operation sections of the class box can be suppressed to reduce
detail in an overview. Suppressing a section makes no statement about the
absence of attributes or operations, but drawing an empty section explicitly states
that there are no elements in that part.

You might also like