exo6: add the basic operations code.
[Project_POO.git] / exo6 / Opplus.java
1
2 class Opplus extends Opadd {
3
4 Opplus(Terme g, Expression d) {
5 super(g, d);
6 }
7
8 public double evaluer() {
9 return gauche.evaluer() + droite.evaluer();
10 }
11 }