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...

Which of the following is not an acceptable variable name?

a. one_name b. name_One c. 1_Name d. theFirstName

Computer Science & Information Technology

WiMAX is also referred to as 802.11a.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology