jeudi 11 juin 2015

Using Aggregation in Inheritance

I want to create an application for creating graphical documents, each document consists of several geometric shapes (Ball, Brick, Cylinder, Cube).

So I created two diagrams for my application, as shown in this picture :

http://ift.tt/1GuodVr

I want to know which diagram is better and why ? and what are the disadvantages and the advantages of both approaches.

Aucun commentaire:

Enregistrer un commentaire