C++多态性和虚函数

一、vitrual 多态性的意义

  多态性就是调用同一个函数名实现不同的函数的功能  

二 、 C++中隐藏、覆盖 (重写)、重载的区别

  

猜你喜欢

转载自www.cnblogs.com/liunx1109/p/9613826.html