5556575859606162636465
orGate.action(); Action andGate1 = new AndGateAction(input1, input2, carry, this); andGate1.action(); Action inverter = new InverterAction(carry, j, this); inverter.action(); Action andGate2 = new AndGateAction(i, j, sum, this); andGate2.action(); }