cpp/object_oriented/overloading_overriding_and_hiding #70
Replies: 2 comments
-
重写:必须是虚函数,参数列表相同,多态性。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
如果重写了虚函数,调用的是派生类的实现,即使是通过 Base*。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
cpp/object_oriented/overloading_overriding_and_hiding
编程指北: 计算机系统学习指南, 操作系统, 计算机网络, C++, Java, 算法, 数据结构
https://csguide.cn/cpp/object_oriented/overloading_overriding_and_hiding.html
Beta Was this translation helpful? Give feedback.
All reactions