zl程序教程

您现在的位置是:首页 >  后端

当前栏目

子类调用父类方法实现多态

方法 实现 调用 多态 子类 父类
2023-09-14 09:07:07 时间
class Base {
   
public:
    Base() {
   
        print();
    }
    virtual ~Base() {
   

    }