在实现多态的正常代码中,去 掉 基 类的virtual,会出现
A.无法通过编译
B.可以通过编译,但无法正常运行
C.无影响,运行结果不变
D.可以正常运行,但运行结果可能改变
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239494.html
上一篇:网络直播采访
下一篇:Precisely what a species might have____itself to through generations of selection and survival is an open question.