Strategy Design Pattern in Java

The strategy pattern is a behavioral design pattern that enables an algorithm’s behavior to be selected at runtime without causing tight coupling. The strategy pattern defines a family of algorithms, encapsulates each algorithm, and makes algorithms interchangeable. Strategy pattern lets the algorithm vary independently from clients that use it. For more information go to http://en.wikipedia.org/wiki/Strategy_pattern […]

Read More