Strategy design pattern

Introduction Strategy design pattern states that if an algorithm has different forms. Then each of these forms must be implemented in their own class. The client using these different algorithmic forms is allowed to interchangeable use each of this as required. Why do we need this strategy pattern? Lets assume that we have a module … Continue reading Strategy design pattern