Strategy Pattern

The intent of Strategy pattern is to define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets a class behavior or its algorithm can be changed at run time. It captures the abstraction in an interface, and provides implementation details in derived classes. Continue reading