Class Diagram

A UML (Unified Modelling Language) class diagram is used to provide a representation of the three main aspects of a class:

 

 

The top section contains the Name of the class

The middle section contains the Attributes of the class

The lower section contains the Methods of the class

 

The attributes and methods are referred to as the Members of the class.

 

The following symbols / annotations are applied before members to define their visibility:

+ Public
-- Private
# Protected
~ Package
/ Derived
Underline Static

Leave a Reply