package interpreter; public class Constant implements BooleanExp { private boolean constant; public Constant(boolean constant) { super(); this.constant = constant; } public BooleanExp Copy() { return new Constant(this.constant); } return this.constant; } return Copy(); } }