Key Concept for applying the Strategy Pattern:

  1. At any given time only one algorithm is instantiated and active

  2. The Strategy pattern encapsulates related classes that have different functionalities

  3. The name of the message to the strategy object and the context object must be the same

  4. None of the above


Correct Option: A

Find more quizzes: