exo6: add the full implementation.
[Project_POO.git] / exo6 / Opplus.java
index 95b200b1c158056301f9a99315a46533899ef0e0..185e66b2174665b774dd3c78bd5a9bf6719171c0 100644 (file)
@@ -5,7 +5,7 @@ class Opplus extends Opadd {
         super(g, d);
     }
 
-    public double evaluer() {
+    public double evaluer() throws NotDigitException {
         return gauche.evaluer() + droite.evaluer();
     }
 }