当一个类的某个函数被说明为virtual时,在该类的所有派生类中的同原型函数()
A.
都是虚函数
B.
只有被重新说明时才是虚函数
C.
都不是虚函数
D.
只有被重新说明为virtual时才是虚函数
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239626.html
上一篇:Passage 5Questions 21 to 25 are based on the following passage.Storytelling allows families to transmit family love and values from parents or grandparents to children, and to help children mature, make sense of their world, learn about their
下一篇:论文中对研究对象高屋建瓴地简要概括,提出论题的部分是