走进C++程序世界-----继承和派生(2)覆盖基类的函数 覆盖基类函数顾名思义就是在派生类中对基类的函数进行的重新定义。这里将会讲到下面的2个知识点:1、隐藏基类的方法2、调用基类的方法(隐式和显示调用基类的方法)
Manmal constrctor... Dog constrctor...Manmal move one stepDog woof! Dog destructor..Manmal destructor...