My 2 Cents How To Invoke The Constructor

Swati Mishra

Content Writer
When we use the multiple inheritance, then the constructor invoke in some order which is describe below.
  • Virtual base class constructor invoke in order of inheritance.
  • Non-virtual base class constructor invoke in order of inheritance.
  • Member objects constructor invoke in order of declaration.
  • Derived class constructor
 
Top