Closed jundatan closed 1 year ago
@jundatan Standard containers such as Arrays and Lists are considered as merely internal mechanisms to hold multiple objects (as a normal variable can hold only one object). Therefore, they are omitted/implied in class and object diagrams. Just treat parts
as a variable that can hold multiple objects.
How to draw the Object diagram for the
parts
attribute shown above if it contains some Item object?