Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 6 (Q.No. 32)
32.
When you instantiate a derived class object, a constructor for the derived class _____
Discussion:
2 comments Page 1 of 1.
Lucifer said:
7 years ago
Calling Sequence:
1. Constructor of Base Class.
2. Constructor of Derived Class.
3. Destructor of Derived Class.
4. Destructor of Base Class.
1. Constructor of Base Class.
2. Constructor of Derived Class.
3. Destructor of Derived Class.
4. Destructor of Base Class.
Lucifer said:
7 years ago
Constructor for the derived class is called after the base class constructor is called.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers