Computer Science, asked by ggsj9568, 1 year ago

How does inheritance influence working of constructor?

Answers

Answered by sweety304
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