How does inheritance influence working of constructor?
Answers
Answered by
1
the constructor are used to initialize member variables of the objects . the compiler automatically invokes contractor. the derived class does not require a contructor if the base class contains a zero argument contructor.
Similar questions
Math,
7 months ago