In generally ,we can say that anytime u redefine an overloading function name from the base class,all of the other versions are automatically hidden in the new class.
英
美
释义
总结为:继承类把基类的重载函数重定义后,只能调用继承类对象的已重定义的函数,而不是调用基类的那些重载函数(同名函数),即在继承类中基类的重载函数被隐藏!
把海词放在桌面上,查词最方便
触屏版
|
电脑版
©2003 - 2025 海词词典(Dict.cn)
立即下载