请将下列类定义补充完整。class Base{public:void fun(){tout<<"Base::fun"<<endl;}}; class Der
12 查阅
请将下列类定义补充完整。
class Base{public:void fun(){tout<<"Base::fun"<<endl;}};
class Derived:public Base
{
public:
void fun()
{
______//显示调用基类的fun函数
cout<<"Derived::fun"<<endl;
};
参考答案: