题目
Which of the following class DOES NOT need a copy constructor?(下面所列举的类哪个不需要拷贝构造函数?)
A.A matrix class in which the actual matrix is allocated dynamically within the constructor and is deleted within its destructor.(一个矩阵类:动态分配,对象的建立是利用构造函数,删除是利用析构函数.)
B.A payroll class in which each object is provided with a unique ID.(一个花名册类:每一个对象对照着唯一的ID.)
C.A word class containing a string object and vector object of line and column location pairs.(一个word类,对象是字符串类和模板类.)
D.A library class containing a list of book object.(一个图书馆类:由一系列书籍对象构成.)
A.A matrix class in which the actual matrix is allocated dynamically within the constructor and is deleted within its destructor.(一个矩阵类:动态分配,对象的建立是利用构造函数,删除是利用析构函数.)
B.A payroll class in which each object is provided with a unique ID.(一个花名册类:每一个对象对照着唯一的ID.)
C.A word class containing a string object and vector object of line and column location pairs.(一个word类,对象是字符串类和模板类.)
D.A library class containing a list of book object.(一个图书馆类:由一系列书籍对象构成.)
提问时间:2021-01-07
答案
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 16x-27=9(解方程)急!
- 2admire 和benefit翻译这两个单词
- 34-x²/ x²-4x+4约分结果
- 4长方形的周长是40米,长是a米,宽是多少米?(用含有字母的式子表示)
- 5一电能表表盘上表明 2400r/kW·h ,将某用电器单独接在该表上,当用电器工作4min后,电能表转盘转动了60转,则改用电器1s消耗的电能是多少焦?
- 6英语翻译
- 7Mary is a clerk .Her work s____ at 8:00 every morning.怎么填啊
- 8把某个三角函数的图象按某个向量平移,例如把函数y=cosx按向量(-1,-2)平移,目标函数变成y=cos(x+1)-2
- 9原电池为什么要电解质溶液?是因为电解质溶液才能和金属反应吗?
- 10元字可以加什么偏旁变成新字
热门考点