public Add(ArithmeticUnit unit, double operand) { this.unit = unit; this.operand = operand; }
public Div(ArithmeticUnit un, double op) { unit = un; operand = op; }
public Calculator() { arithmeticUnit = new ArithmeticUnit(); controlUnit = new ControlUnit(); }