Question: 1. Create a project in eclipse called Lab3 (on java), which has separate folders for the source code and the compiled code. Additionally, copy or

1. Create a project in eclipse called Lab3 (on java), which has separate folders for the source code and the compiled code. Additionally, copy or import into the foldersrc the Florcreated class in the previous laboratory. 2. Create a class called Jardin, which has an Arrayfloresque that will store elements of type Flory and an intantityFloresque that will store the amount of existing flowers in the garden. The Jardin class must have the following methods: a. Define a constructor method that has as argument the length for the variable flowers. b. Write a method to add, add a flower to the arrangement in such a way that it is arranged in alphabetical order according to the name of the flower. c. Write a method to eliminate, remove the existing flower in a given position (entered by argument) and return the flower removed. d. Write a content method, which returns the information of the existing flower in a given position. 3. Write a Garden Test class, which has a Garden of 5 flowers. To perform the following actions: a. Add the flower (Rosa, 10, 5.0) b. Add the flower (Sunflower, 110, 6.5) c. Print the garden information. A method must be defined to print ALL the information existing in the garden. d. Add the flower (Orchid, 4, 8.0) and. Remove the flower in the first position F. Print the garden information. g. Add a flower requested to the user (you must ask the flower information to the user and then add it to the garden) h. Print the garden information.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!