题目内容

用new运算符产生的动态对象,在不再使用这种对象时,必须用delete运算符来释放对象所占用的存储空间。

A. 对
B. 错

查看答案
更多问题

对象生命期结束时的清理工作,分别由析构函数和构造函数完成。

A. 对
B. 错

在用一个对象初始化另一个对象时,只复制了数据成员,而没有复制资源,使两个对象同时指向了同一资源的复制方式称为深复制。

A. 对
B. 错

Rewrite the following sentences after the model.Model:In addition, children will get money as a New Year's gift from elders, which is wrapped up in red packets.In addition, children will get money as a New Year's gift from elders, wrapped up in red packets.1. The thief ran away, who was pursued by the policemen.

Rewritethefollowingsentencesafterthemodel.Model:Inaddition,childrenwillgetmoneyasaNewYear'sgiftfromelders,whichiswrappedupinredpackets.Inaddition,childrenwillgetmoneyasaNewYear'sgiftfromelders,wrappedupinredpackets.2.Thetrainerappeared,whowasfollowedbyamonkey.

答案查题题库