Question: When composition (one object having another object as a member) is used: Select one: O a. Member objects are constructed first, in the order
When composition (one object having another object as a member) is used: Select one: O 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 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
3.46 Rating (149 Votes )
There are 3 Steps involved in it
Ans 29 c The host object is constructed first and t... View full answer
Get step-by-step solutions from verified subject matter experts
