+ 5

c++

what is the answer in the inheritance? Fill in the blanks 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"; } }; B this D class public protected please tell me answer now

5th Mar 2017, 1:19 PM
Sunita Sharma
5 Answers
0
std :: cout-----For what is commonly used this "std" and this" :: " pls help i struggle with that
24th Mar 2017, 5:07 PM
Dusan
Dusan - avatar
0
B { public: () { cout << "B's constructor"; } }; class D : B { () { cout << "D's constructor"; } }; Answer plzz
15th Apr 2017, 8:16 AM
pankaj marathe
pankaj marathe - avatar
0
Fill in the blanks to declare the class my_class with its constructor.
15th Nov 2018, 12:21 PM
Putra Hardiansyah
Putra Hardiansyah - avatar
0
class B { public: B() { cout << "B's constructor"; } }; class D : public B { this() { cout << "D's constructor"; } };
12th Nov 2019, 2:40 AM
camilo hex
camilo hex - avatar