+ 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
5 Answers
0
std :: cout-----For what is commonly used this "std" and this" :: "
pls help i struggle with that
0
B {
public:
() {
cout << "B's constructor"; }
};
class D : B {
() {
cout << "D's constructor"; }
};
Answer plzz
0
Fill in the blanks to declare the class my_class with its constructor.
0
class B {
public:
B() {
cout << "B's constructor"; }
};
class D : public B {
this() {
cout << "D's constructor"; }
};