Question: Exercise 1 (Class diagram 3) - create a diagram Create a UML diagram for this description of the Strategy behavioral pattern. An interface AlgorithmStrategy declares
Exercise 1 (Class diagram 3) - create a diagram Create a UML diagram for this description of the Strategy behavioral pattern. An interface AlgorithmStrategy declares (abstract) the operation algorithm(). Three classes, AlgorithmA, Algorithms, and Algorithm realize this interface. The class Context has a property myAlgorithm that is of type AlgorithmStrategy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
