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
English,
3 months ago
English,
3 months ago
Hindi,
3 months ago
Computer Science,
7 months ago
Physics,
7 months ago
Social Sciences,
1 year ago
Environmental Sciences,
1 year ago