repositories
/
Project_POO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exo6: add constructor and some sanity checks to Chiffre and Variable
[Project_POO.git]
/
exo6
/
Opminus.java
diff --git
a/exo6/Opminus.java
b/exo6/Opminus.java
index c200b746d444ff1799ec1fe4faebffad21e5b69a..d33cd17fb710c3a823cfb72ef8e5393820b228e3 100644
(file)
--- a/
exo6/Opminus.java
+++ b/
exo6/Opminus.java
@@
-1,7
+1,7
@@
class Opminus extends Opadd {
- public
boolean
evaluer() {
- return
true
;
+ public
double
evaluer() {
+ return
0.0
;
}
}