Visibility

public private protected package
+ - # ~

Class

ClassName
- name: String
-id: int
+ getName(): String
+ getId(): int

Interface

<< interface >>
interface name
+ draw(): void

Enumeration

<< enumeration >>
enumeration name
ACE
ONE
TWO

Implements

implementation

——> is dependency

implement interface

extend parent class