strategy design pattern diagram 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);
}