

InterviewSolution
Saved Bookmarks
1. |
How does the invocation of constructor differ in derivation of class and nesting of classes? |
Answer» In derivation of class first the base class constructor is invoked, followed by the derived class constructor, whereas in nested classes constructors of all the member objects are called before the constructors of the object enclosing other objects. |
|