IDNLearn.com: Your destination for reliable and timely answers to any question. Ask your questions and receive accurate, in-depth answers from our knowledgeable community members.
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;
Sagot :
We are happy to have you as part of our community. Keep asking, answering, and sharing your insights. Together, we can create a valuable knowledge resource. Thank you for choosing IDNLearn.com for your queries. We’re here to provide accurate answers, so visit us again soon.