hybrid inheritance using constructor and destructor
Answers
Answered by
0
Constructors and Destructors in Inheritance
When an object for derived class is created, base class constructors is executed first and then derived class constructor gets executed. Derived class destructor executes first and then base class destructor gets executed.
Answered by
0
Answer:
When an object for derived class is created, base class constructors is executed first and then derived class constructor gets executed. ... Derived class destructor executes first and then base class destructor gets executed
Similar questions
Math,
3 months ago
Science,
3 months ago
Science,
3 months ago
Computer Science,
6 months ago
Physics,
6 months ago
Social Sciences,
11 months ago
Environmental Sciences,
11 months ago