派生类

一、派生类

派生类有基类所有的成员函数,成员变量

二、格式

class  派生类名 : public 基类名
{
       .............
};
原文地址:https://www.cnblogs.com/shenyuling/p/10017586.html