commit
5b80fdb79d
1 changed files with 2 additions and 0 deletions
|
@ -57,10 +57,12 @@ public class Potato implements Tuber {
|
||||||
return this.isPutIntoOven();
|
return this.isPutIntoOven();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isDelicious() {
|
public boolean isDelicious() {
|
||||||
return this.isBaked();
|
return this.isBaked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Tuber propagate() {
|
public Tuber propagate() {
|
||||||
return new Potato();
|
return new Potato();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue