Explanation: In order to initialize the various data elements of different objects with different values when they are created parameterized constructors are used. 9) When an object is created and initialized at the same time, a _________ constructor gets called.
A. Inline Constructor
B. Copy Constructor
C. Default Constructor
D. Parameterized Constructor
Answer:A
Explanation: In order to initialize the various data elements of different objects with different values when they are created parameterized constructors are used. 9) When an object is created and initialized at the same time, a _________ constructor gets called.
A. Inline Constructor B. Copy Constructor C. Default Constructor D. Parameterized Constructor
Explanation: A copy constructor takes reference to an object of the same class as itself as an argument. 10) Destructor is defined as _______