
(问答题) 阅读程序,给出运行结果
class A
{ public:
A ( ){cout<<"constructing A "<
class B: public A
{ public:
B( ){cout<<"constructing B "<
int main()
{ B b1;
return 0;
}
在此处作答:
class B: public A
{ public:
B( ){cout<<"constructing B "<
int main()
{ B b1;
return 0;
}
在此处作答: