Question: c++ question... True or false... 1. In Composition, the composer is not responsible for destroying its component objects at or before its own destruction ==>
c++ question... True or false...
1. In Composition, the composer is not responsible for destroying its component objects at or before its own destruction" ==> false
2. Is it true that inheritance is more flexible than composition ==> true
3. An aggregation is a composition that does manage the creation & destruction of the objects that it uses ==> false
4. Is it true that a composition is a has-a relationship ? - true
5.
Does composition implement a complete ownership ? - true
Is it all correct??
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
