单项选择题
限制了创建类的实例数量,而(41)将一个类的接口转换成客户希望的另外一个接口,使得原本由于接口不兼容而不能一起工作的那些类可以一起工作。
- A.命令模式(Command)
B.适配器模式(Adapter)
C.策略模式(Strategy)
D.单例模式(Singleton)
点击查看答案
相关考题
-
单项选择题
患儿,女,8岁,上前牙外伤后1小时。检查见左上中切牙牙冠斜折,切角缺损,牙髓暴露,探痛,无松动。为明确诊断,下一步的检查是()
A.冷热测
B.根尖X线片
C.曲面断层片
D.咬合关系检查
E.牙髓活力电测定 -
单项选择题
Which of following statements is tine about the public debate over gun network?()
A.It has little influence on the forum sponsored by the Crime and Justice network.
B.Neither supporters nor opponents of gun control cite the works of scholars.
C.The works of mainstream social scientists have great impact on it.
D.Many social science historians have so far failed to take part in it. -
单项选择题
杜能农业区位论所要解决的主要问题归为一点,就是(),从而最大限度地增加利润。
A.如何通过合理布局使农业生产达到节约运费
B.如何降低农产品市场价格
C.如何保证生产同一农产品的成本是相同的
D.如何保证生产同一农产品的运费是相同的
