//This file generated automatically from the MARIUS LP system, please do not edit.

public class ClientStrategy {

 public final static String SUMA="SUMA";
 public final static String RESTA="RESTA";
 public final static String PRODUCTO="PRODUCTO";
 public final static String DIVISION="DIVISION";
 public static void main(String [] args) {
    java.util.Hashtable hsh = new java.util.Hashtable();
    hsh.put(SUMA,new Suma());
    hsh.put(RESTA,new Resta());
    hsh.put(PRODUCTO,new Producto());
    hsh.put(DIVISION,new Division());
    int op1=1,op2=2;
    String cmd = args[0];
    Operacion oper;
    oper = (Operacion) hsh.get(args[0]);
    oper.operar(op1,op2);
    System.out.println(oper.getResultado());
 }

} //End of class ClientStrategy
