public class Multiplication extends ArithmeticOperation
ArithmeticOperation
.ArithmeticOperation
,
Tree
Constructor and Description |
---|
Multiplication(Tree leftOperand,
Tree rightOperand) |
Modifier and Type | Method and Description |
---|---|
int |
calculate()
To process the addition, we need the calculation results of both
operands.
|
java.lang.String |
toString() |
getLeftOperand, getRightOperand, setLeftOperand, setRightOperand