Multiple choice

Which of the following patterns is used when your programmer's algorithm is interchangeable with different variations of the algorithm?

  1. HMAC verification

  2. Strategy pattern

  3. Singleton pattern

  4. Factory pattern

  5. Reflection

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This pattern is used when your programmer's algorithm is interchangeable with different variations of the algorithm.