• Home
  • Which of the following describes the Strategy pattern correctly?
Question 1:
Which of the following describes the Strategy pattern correctly?
A. In this pattern, a class behavior changes based on its state.
B. In this pattern, a null object replaces check of NULL object instance
C. In this pattern, a class behavior or its algorithm can be changed at run time
D. In this pattern, an abstract class exposes defined way(s)/template(s) to execute its methods

These questions are from this test. Would you like to take a practice test?

Design Patterns Quiz 4 | Englishfreetest.com