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