Question: Which one is NOT correct about Strategy Pattern? Question 2 options: It separates algorithm for behavior from object that wants to act Each strategy implements
Which one is NOT correct about Strategy Pattern?
Question options:
It separates algorithm for behavior from object that wants to act
Each strategy implements one behavior
It allows changing an object's behavior dynamically without changing the object itself
It defines a set of algorithms that can be used interchangeably at compile time
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
