Question: Java Program Flower pack should hold plants that can be flowers, fungus or weed. - Create a plant class that has three child classes (flower,

Java Program

Flower pack should hold plants that can be flowers, fungus or weed.

- Create a plant class that has three child classes (flower, fungus and weed).

- Each subclass shares certain qualities (ID and Name)

- Flower traits include (Color, Thorns, and Smell)

- Fungus traits include (Color and Poisonous)

- Weed traits include (Color, Poisonous, Edible and Medicinal)

- Be able to add, remove, search and filter these plants by name.

- Store your plants using an ArrayList.

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!