Example Object Diagram

The following example first shows a simple Class diagram, with two Class elements connected.



The Classes above are instantiated below as Objects in an Object diagram. There are two instances of Computer in this model, which can prove useful for considering the relationships and interactions Classes play in practice, as Objects.