import java.util.Scanner; import java.util.ArrayList; public class MyGarden{ public static void main(String[] args){ Scanner scnr = new Scanner(System.in); GardenManager myGarden = new GardenManager(); myGarden.inputPlants(scnr); printArrayList(myGarden.getMyGardenList()); } public static void printArrayList(ArrayList garden){ for (Plant plant:garden){ plant.printInfo(); } } }