Class Diagram
Notation

Access Modifiers

Relations (Arrows)

Association
Class1 and Class2 is related in some way
Can also have a no fill arrow to show the direction

Inheritance
SubClass1 and SubClass2 both inherit from SuperClass

Aggregation
Class1 is part of Class2
(The one with the diamond is part of, the aggregated)

Composition
Class1 cannot exist withou Class2 and vice versa

Realization
The Person and Corporation class implements the Owner interface

Dependency
Class1 depends on Class2
Class1 has a method with Class2 as the parameter

