Specialization, Extension, and Inheritance
- slide 26 : 40
Constructors and initialization order: Example
Instantiation of class C that inherits from class B that inherits from class A
Initializers and constructors of class C.
Initializers and constructors of class B.
Initializers and constructors of class A.
The class Init and the method InitMe.
A program that instantiates and initializes class C.
The output that reveals the initialization order.