... | @@ -17,7 +17,7 @@ Aggregation implies a relationship where the child can exist independently of th |
... | @@ -17,7 +17,7 @@ Aggregation implies a relationship where the child can exist independently of th |
|

|
|

|
|
|
|
|
|
## Composition
|
|
## Composition
|
|
Composition implies a relationship where the child cannot exist independent of the parent. Example: Person (parent) and Head, Heart, and Leg (child). The children don't exist separate to a House.
|
|
Composition implies a relationship where the child cannot exist independent of the parent. Example: Person (parent) and Head, Leg, and Heart (children). The children don't exist separate to a Person.
|
|
|
|
|
|
### Example
|
|
### Example
|
|
 |
|
 |
|
|
|
\ No newline at end of file |