摘要:
Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it. example duck application same super class, same function name, different function implementationstructure: 阅读全文