Question: When composition (one object having another object as a member) is used: Select one: a. Member objects are constructed first, in the order they are

When composition (one object having another object as a member) is used: Select one: a. Member objects are constructed first, in the order they are declared in the host's class. O b. Member objects are constructed first, in the order they appear in the host constructor's initializer list O c. The host object is constructed first and then the member objects are placed into it. O d. Member objects are destructed last, in the order they are declared in the host's class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
