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

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