- 3
Answer me
Drag and drop from the options below to declare a ''B'' class with its own constructor and a ''D'' class with its own constructor, where ''D'' inherits ''B''. B { public: () { cout << "B's constructor"; } }; class D : B { () { cout << "D's constructor"; } };
2 Respostas
+ 4
This is out of the inheritance section in the C++ course. Just review the material and look in the comments. If you're still struggling, maybe ask a conceptual question. It's kind of cheap to demand the community hand over the answer so you don't have to learn to be articulate yourself.
https://www.sololearn.com/learn/CPlusPlus/1907/?ref=app
0
You forgot to write the question which you want to be answered.