[单选题]

有如下程序:

已知其执行后的输出结果为:
Base::fun
Derived::fun
则程序中下划线处应填入的语句是(  )。

A.Base.fun();

B.Base::fun();

C.Base->fun();

D.fun();

参考答案与解析:

相关试题

有如下程序:<br /><img border="0" style="width: 304px; height: 387px;" src=&q