0
Please comment this code for me again
class Mother { public: Mother() {}; void sayHi() { cout << "Hi"; } }; class Daughter: public Mother { public: Daughter() {}; }; int main() { Daughter d; d.sayHi(); }
1 Réponse
0
Are you familiar with the concept of object-oriented programming ?