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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!