strategy pattern code example Example: strategy pattern definitiom public interface Strategy { public int doOperation(int num1, int num2); }