+ 1
[solved]Can we destroy that mother class ???
if we destroy that mother class it will work or not for derived class . https://www.sololearn.com/learn/CPlusPlus/1907/
1 Respuesta
+ 4
A derived class needs a base class, unless you design Daughter class to NOT to extend/inherit Mother class (like the one in second example), the derived class will not work, I suppose : )
Hth, cmiiw