Q.

Which of the following is an object pattern that encapsulates interchangeable algorithms in objects so the algorithm can vary independently of the classes that use it?

A. chain of responsibility
B. strategy
C. mediator
D. memento
Answer» B. strategy
4.9k
0
Do you find this helpful?
35

Discussion

No comments yet