161k views
5 votes
The values of the member variables of objectOne are being copied into the corresponding member variables of objectThree. This initialization is called the ____.

User Zts
by
5.5k points

1 Answer

3 votes

Answer:

member wise Initialization.

Step-by-step explanation:

Member wise initialization is used for the following cases:-

  1. When you have constant member in your class.
  2. When you have Reference member in your class.
  3. When you have a very large member in your class.
  4. When you have a member with no default constructor.

Member wise initialization is uses initialization and the direct initialization uses assignment.

User JohnN
by
6.3k points