import java.util.*; public class ExpressionEvaluator { //Instance Variables private String expression; private int value; //Constructor public ExpressionEvaluator(String expression) { this.expression = expression.trim(); this.value = evaluate( tokenize(this.expression) ); } //Accessor public String getExpression() { return this.expression; } //Accessor public int getValue() { return this.value; } //Return a Queue containing the tokens from an expression //The tokens are stored in the same order as they occur // in the expression private Queue tokenize(String expression) { return null; } //Evaluate an expression by processing the //expression tokens from a queue of tokens private int evaluate( Queue infix ) { return 0; } //****************** Helper Methods ******************** }