In what sequence, the constructor will be executed ?
A. Derived class constructor is followed by Base class constructor
B. Base class constructor is followed by Derived class constructor
C. Base class constructor is never called
D. Derived class constructor is never called
Answer:B
In what sequence, the constructor will be executed ?
A. Derived class constructor is followed by Base class constructor B. Base class constructor is followed by Derived class constructor C. Base class constructor is never called D. Derived class constructor is never called