exo6: add the full implementation.
[Project_POO.git] / exo6 / ParentheseExp.java
1
2 class ParentheseExp extends Facteur {
3 private Expression exp;
4
5 ParentheseExp(Expression e) {
6 exp = e;
7 }
8
9 public double evaluer() throws NotDigitException {
10 return exp.evaluer();
11 }
12 }