有关析构函数的说法正确的是()。
有关析构函数的说法正确的是()。
A、析构函数可以有多个
B、析构函数和构造函数一样可以有形参
C、析构函数的功能是用来释放一个对象
D、析构函数的函数类型为void
正确答案:析构函数的功能是用来释放一个对象
Tag:函数 对象 功能
时间:2023-10-31 10:23:34
- 1.类模板的静态数据成员由()共享。
- 2.下列对派生类的描述中,()是错误的。
- 3.对于多重继承,有()。
- 4.read函数的功能是从输入流中读取()。
- 5.多态调用是指()。
- 6.“Same-sex marriage” is included in “individuals marrying the person of his or her own choice.”
- 7.It is dangerous to drive on icy streets. The streets are icy now, so it is dangerous to drive now.
- 8.A thesis statement is not a mere statement of fact. Rather, it is an idea, a claim, or an interpretation that others may dispute.
- 9.After introducing the conflicting argument, you’d better proceed to support your own thesis as soon as possible.
- 10.All children who have been fully immunized (免疫)are protected against some common and life-threatening diseases, such as whooping cough, polio,and diphtheria. Therefore, Steven, who has been immunized, is most unlikely to fall sick with these diseases.