Why can't the derived class in C ++ (OOP) access the constructor with the parameters of the base class?
An important feature of the derived class is that although it can use all the methods and elements of the protected and public fields of the base class, it cannot refer to the constructor with parameters. If the constructors in the derived class are not defined, the constructor without the arguments of the base class will work when the object is created. And if we need to immediately enter data when creating a derived class object, then we need to define our constructors for it.
Why?
privateor not called to initialize the base sub-object of the derived object. - VTT