UML&OCL Modeling Languages


Introduction

The two fundamental relations between classes are: associations (e.g. compositions) and inheritance (generalizations).


Classes' diagram (cont.)

Notice the "italic" representation of Element that means "abstract" class and means "no possible instance" (: use a concrete subclass). In a similar manner "underline" means "static" such as the main method in a Java program.


6 - 14