Which two are objectives of the Strategy pattern?
A.
To provide a way to configure a class with one of many behaviors
B.
To define an object that encapsulates how a set of objects interacts
C.
To define the skeleton of an algorithm, deferring some steps to subclasses
D.
To decouple an abstraction horn its implementation so that the two can vary independently
E.
To define a family of algorithms, encapsulate each one, and make them interchangeable
F.
To allow subclasses to redefine certain steps of an algorithm without changing the algorithm’s
structure
Explanation:
http://www.goprod.bouhours.net/?page=pattern&pat_id=21
AE
AE
AE