下列关于析构函数特征的描述中,正确的是
A.一个类中能定义一个析构函数
B.析构函数名与类名不同
C.析构函数的定义只能在类体内
D.析构函数可以有一个或多个参数
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/241209.html
上一篇:Two things are outstanding in the creation of the English system of canals, and they characterize all the Industrial Revolution. ( )
下一篇:重症肺炎患儿因缺氧及二氧化碳瀦留可发生()