SE450: Basics: UML Class Diagrams: Object Class [37/63] Previous pageContentsNext page

An object class looks like this:
   +---------------------+
   |       MutInt        |
   +---------------------+
   | - v:int             |
   +---------------------+
   | + MutInt()          |
   | + toString():String |
   | + plus(int):void    |
   +---------------------+

A static class describes the class itself.

An object class describes the instances of the class.

Previous pageContentsNext page