Java question:
The verify() method: the header is as follows - public boolean verify()
i. This method determines whether an expression is a valid expression or not and
returns either true or false;
ii. You may call another method from this method or you may find you don’t need to;
iii. You need to test whether there is a valid operator, a space either side of the operator, that both operands are valid integer numbers (only integers are used for this
application), and that there is no division by zero;
iv. Only if all tests pass can a true be returned, otherwise the expression cannot beevaluated as it is not a valid expression;
v. Your operator as well as both operands MUST be assigned / determined as part of
this method;