CS计算机代考程序代写 package Lab5_Parsing.task2;

package Lab5_Parsing.task2;

/**
* Abstract class Exp to represent expressions
* @author dongwookim
* @author xuyangshen
*
* You are not required to implement any function inside this class.
* Please do not change anything inside this class as well.
*/

public abstract class Exp {
// show() used to return the content of parsed expression
public abstract String show();
// evaluate() used to evaluates and executes the expression and return the result.
public abstract int evaluate();

}