设计模式-策略模式

98 阅读1分钟

成员:

1个接口

多个策略实现类

一个上下文Context类

参考文章:www.runoob.com/design-patt…