[solved]Can we destroy that mother class ??? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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/

11th Mar 2018, 10:20 AM
Yesh Jadav
Yesh Jadav - avatar
1 Antwort
+ 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
11th Mar 2018, 10:42 AM
Ipang