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
/
Parenthese.java
diff --git
a/exo6/Parenthese.java
b/exo6/Parenthese.java
index 067fcdd8bb2f9f29f4def674f1d885b856d41f5e..2be283bef8256b01f4e9e731ff6ba191ba1a10c3 100644
(file)
--- a/
exo6/Parenthese.java
+++ b/
exo6/Parenthese.java
@@
-1,7
+1,7
@@
class Parenthese extends Facteur {
- public
boolean
evaluer() {
- return
true
;
- }
+ public
double
evaluer() {
+ return
0.0
;
+ }
}