exo6: add constructor and some sanity checks to Chiffre and Variable
[Project_POO.git] / exo6 / Opminus.java
index c200b746d444ff1799ec1fe4faebffad21e5b69a..d33cd17fb710c3a823cfb72ef8e5393820b228e3 100644 (file)
@@ -1,7 +1,7 @@
 
 class Opminus extends Opadd {
 
-    public boolean evaluer() {
-        return true;
+    public double evaluer() {
+        return 0.0;
     }
 }