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