Which is an objective of the Strategy pattern?

Which is an objective 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

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.