阅读程序,给出运行结果
class
A
{ public:
A (
){cout<<"constructing A "<<endl;}};
class
B: public A
{ public:
B(
){cout<<"constructing B "<<endl;}};
int
main()
{ B b1;
return
0;
}
在此处作答:
(1) constructing A(加分号也对)
(2) constructing
B(加分号也对)
分先后顺序,区分大小写。
A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.
免费的网站请分享给朋友吧