- Tech know how online

class diagram

A class diagram establishes the relationships and code dependencies between Unified Modeling Language classes. Class diagrams can be used in all development phases of object-oriented programming.

In this context, a class is understood to be instances with the same characteristics. The class defines the methods and variables in an object that represents a particular entity.

Class box of a class diagram

Class box of a class diagram

In the graphical representation of class diagrams, classes are represented as subdivided rectangles. The classes are arranged in groups and contain the class name, attributes and methods or operations. The connection of the class boxes takes place with lines, which have arrows at one of the two ends. They are used to establish the relationships between the classes. A simple relationship consists in the association, another one consists in the fact that one class is included in another. This relationship is called aggregation. And the third type of relationship is specialization.

Englisch: class diagram
Updated at: 03.07.2019
#Words: 150
Links: class, diagram, code, object (O), indium (In)
Translations: DE

All rights reserved DATACOM Buchverlag GmbH © 2024