相关考题
-
多项选择题
装饰模式包括下边哪些角色()
A.Component抽象构件角色
B.ConcreteComponent具体构件角色
C.Decorator装饰角色
D.ConcreteDeorator具体装饰角色 -
多项选择题
中介者模式的组成包括下边哪些角色()
A.Mediator抽象中介者
B.ConcreteMediator具体中介者角色
C.Colleague同事角色
D.ConcreteColleague 具体同事角色 -
多项选择题
父类调用子类的方式()
A.将子类作为参数传递到父类的构造函数中,然后调用
B.使用反射方法
C.父类调用子类的静态方法
D.使用模板方法模式
