Skip to content

5.4 Class diagram

The class diagram of the Shape class looks like this:

Mermaid diagram Mermaid diagram

+ means public
- means private (not used here)
# means protected
<<constant>> means constant field (PascalCase per C# conventions)
Underlined means static
<<abstract>> on the class and * after an operation name match UML italic for abstract class and abstract operations.