首页
C;语言自带的克隆接口名称是()
精华吧
→
答案
→
慕课
→
未分类
C;语言自带的克隆接口名称是()
A.Clone接口
B.IClone接口
C.Clonable接口
D.IClonable接口
正确答案:IClonable接口
Tag:
软件体系结构
接口
名称
时间:2022-01-30 20:58:14
上一篇:
下列哪些技术采用了原型模式中的浅克隆技术。
下一篇:
原型模式不符合开闭原则。
相关答案
1.
某公司要开发一个即时聊天软件,用户在聊天过程中可以与多个好友同时聊条,在私聊时将产生多个聊天窗口,为了提高聊天窗口的创建效率,要求根据第一个窗口快速创建其它窗口。针对这种需求,采用()进行设计最为合适。
2.
以下关于原型模式叙述错误的是()。
3.
关于C;中的MemberwiseClone()方法,以下叙述有误的是()。
4.
建造者模式中,客户端需要了解复杂对象的创建过程。
5.
建造者模式中,指挥者类Director隔离了客户端与复杂对象的创建过程。
6.
在建造者模式中,指挥者类Director作用类似于工厂模式中的抽象工厂对象。
7.
在建造者模式中,指挥者类Director作用类似于简单工厂模式中的工厂对象。
8.
建造者模式不符合开闭原则。
9.
建造者模式符合开闭原则。
10.
在建造者模式中,为了使客户端源代码在模型扩展时不做任何修改,需要使用()技术来动态创建具体的建造者对象。
热门答案
1.
关于建造者模式中的Director类的描述,错误的是()。
2.
当需要创建的产品具有复杂的内部结构时,为了逐步构造完整的对象,并使得对象的创建更具灵活性,可以使用()。
3.
以下关于建造者模式的叙述,错误的是()。
4.
抽象工厂模式在增加产品等级结构时符合开闭原则。
5.
抽象工厂模式在增加产品族时符合开闭原则。
6.
工厂模式和抽象工厂模式都不符合开闭原则。
7.
工厂模式和抽象工厂模式都符合开闭原则。
8.
工厂模式是抽象工厂模式的一般形式。
9.
抽象工厂模式是工厂模式的特殊形式。
10.
抽象工厂模式是工厂模式的一般形式。