Aggregation

similarities between aggregation and composition

similarities between aggregation and composition

In both aggregation and composition object of one class "owns" object of another class. But there is a subtle difference: Aggregation implies a relationship where the child can exist independently of the parent. ... Composition implies a relationship where the child cannot exist independent of the parent.

Difference Between Ophthalmology and Optometry
An optometrist is an eye doctor that can examine, diagnose, and treat your eyes. An ophthalmologist is a medical doctor who can perform medical and su...
Difference Between MCSE and MCSA
The main difference between the MCSA and MCSE is that the MCSA is an associate or entry level certification and the MCSE is the Expert level certifica...
Difference Between Eau de Parfum and Eau de Toilette
If you choose an Eau de Parfum, you choose a fragrance that is a bit more intense, luxurious and fuller than an Eau de Toilette. ... The main differen...