package swa.prakt3; public class ArithmeticMultiplication extends ArithmeticOperation { public ArithmeticMultiplication(ArithmeticExpression operand1, ArithmeticExpression operand2) { super(operand1, operand2); operationSign = "*"; } @Override public Number doOperation(Number op1, Number op2) { return op1.doubleValue() * op2.doubleValue() ; } }