SE450: Strategy: Example [10/22] Previous pageContentsNext page

From chapter 14 of Design Patterns Explained, we have an example for a Tax calculation. The classes are as follows:

Context = SalesOrder

CalcTax = Strategy

USTax, CanTax = ConcreteStrategy

Others: Configuration, TaskController

Previous pageContentsNext page