According to the strategy pattern, the behaviors of a class should not be inherited, instead they should be encapsulated using interfaces.
The behaviors of a class should not be inherited. This was according to the strategy pattern. They should be encapsulated using interfaces. This was according to the strategy pattern.