下面说法正确的是( )
A.
生成对象时调用析构函数
B.
定义类时必须写出该类的构造函数
C.
调用构造函数时必须在主函数中明确写出调用格式
D.
析构函数不可以重载
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239739.html
上一篇:时间序列中,数值大小与时间长短有直接关系的是()
下一篇:“The depth and passion of its earnest glance, But to myself they turned ( since none puts by The curtain I have drawn for you,but I )This part is quoted from Robert Browning’s “My Last Duchess. ’’Here “you’’refers to()