April 2019
Intermediate to advanced
360 pages
9h 17m
English
As you can see from the UML class diagram, there are multiple options for a single algorithm, represented here with the sampleAlgorithm() method:

As illustrated by the UML class diagram, the strategy design pattern allows you to individually encapsulate a set of interchangeable algorithms.
Read now
Unlock full access