The Strategy design pattern is used to vary the types or classes of objects being constructed code example
Example: strategy pattern definitiom
public interface Strategy {
public int doOperation(int num1, int num2);
}
public interface Strategy {
public int doOperation(int num1, int num2);
}