Answer me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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"; } };

3rd Aug 2018, 4:13 AM
M.Abina devi
M.Abina devi - avatar
2 Answers
+ 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
3rd Aug 2018, 4:49 AM
Janningā­
Janningā­ - avatar
0
You forgot to write the question which you want to be answered.
3rd Aug 2018, 4:18 AM
Lstiti