exo6: add the full implementation.
[Project_POO.git] / exo6 / ParentheseExp.java
CommitLineData
c7043054
JB
1
2class 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}