exo6: add the full implementation.
[Project_POO.git] / exo6 / Opplus.java
CommitLineData
dd8febe8
JB
1
2class Opplus extends Opadd {
3
0224c1a7
JB
4 Opplus(Terme g, Expression d) {
5 super(g, d);
6 }
7
c7043054 8 public double evaluer() throws NotDigitException {
0224c1a7 9 return gauche.evaluer() + droite.evaluer();
c9ca2283 10 }
dd8febe8 11}