When composition (one object having another object as a member) is used:

a. The host object is constructed first and then the member objects are placed into it.
b. Member objects are constructed first, in the order they appear in the host constructor’s initializer list.
c. Member objects are constructed first, in the order they are declared in the host’s class.
d. Member objects are destructed last, in the order they are declared in the host’s class.

c. Member objects are constructed first, in the order they are declared in the host’s class.

Computer Science & Information Technology

You might also like to view...

An SQL keyword defines the purpose and the structure of a SQL statement

Indicate whether the statement is true or false

Computer Science & Information Technology

In an _________ system the user/programmer interacts directly with the computer, usually through a keyboard/display terminal to request the execution of a job or to perform a transaction.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology