Yurttas/PL/OOL/Java/F/09/02/00/PerennialGarden.java

From ZCubes Wiki
Jump to navigation Jump to search
 1public class PerennialGarden implements Garden {
 2
 3  public Plant getShade() {
 4    return new Plant("Astilbe");
 5  }
 6
 7  public Plant getCenter() {
 8    return new Plant("Dicentrum");
 9  }
10
11  public Plant getBorder() {
12    return new Plant("Sedum");
13  }
14
15}