下列程序中下画线处应填入的语句是 class Base { public: void fun( ) {cout < < "Baseoffun" <
19 查阅
下列程序中下画线处应填入的语句是
class Base
{
public:
void fun( ) {cout < < "Baseoffun" < < endl;}
};
class Derived:public Base
{
void fun( )
{
______//显示基类的成员函数fun
cout < < "Derived of fun" < < endl;
}
};
A.fun( ) ;
B.Base. fun( ) ;
C.Base: :fun( ) ;
D.Base->fun( ) ;
参考答案: