Question: in Java, How can you create a method to fill in a 2D array (a garden) when the user provides the side length of squares
in Java, How can you create a method to fill in a 2D array (a garden) when the user provides the side length of squares (plants) that fit into the garden (the 2d array) as well as the length of each square from the left edge and top edge of the garden? The names of the plants are stored in a char array with the first letter of each plant being stored.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
