022 看上去像多态

#include <iostream> using namespace std; class B { private: int nBVal; public: void Print() { cout << "nBVal=" << nBVal << endl; } void Fun() { cout <
posted @ 2022-02-22 10:39  icefield817  阅读(44)  评论(0编辑  收藏  举报