Java Recipe Box **Please add comments throughout the code to help me understand better what is happening in the program.** I need to create a program that holds multiple recipes like a recipe box. It needs to include at a minimum: At least 1 loop An Array or ArrayList At least 3 Java classes Use of methods The program should allow the user to (as part of a menu selection): Add a recipe Include ingredient list Instructions List all recipes that are in the program (array) Display a single recipe Search Recipes (option to view recipe selected, if possible) For example, searching for "chocolate" would bring up the recipe or multiple if the same name. The user could then select one of them to view the recipe. Search Recipes with a single ingredient (option to view recipe selected, if possible) For example: search for "coconut" and it would bring up coconut cream pie and German chocolate cake. The user could then select one of them to view the recipe. Close application Please Include a UML diagram. Note: This should not contain a GUI.

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 12PE
icon
Related questions
Question
Java Recipe Box

**Please add comments throughout the code to help me understand better what is happening in the program.**


I need to create a program that holds multiple recipes like a recipe box.

It needs to include at a minimum:

  • At least 1 loop
  • An Array or ArrayList
  • At least 3 Java classes
  • Use of methods

The program should allow the user to (as part of a menu selection):

  1. Add a recipe
    • Include ingredient list
    • Instructions
  2. List all recipes that are in the program (array)
  3. Display a single recipe
  4. Search Recipes (option to view recipe selected, if possible)
    • For example, searching for "chocolate" would bring up the recipe or multiple if the same name. The user could then select one of them to view the recipe.
  5. Search Recipes with a single ingredient (option to view recipe selected, if possible)
    • For example: search for "coconut" and it would bring up coconut cream pie and German chocolate cake. The user could then select one of them to view the recipe.
  6. Close application

Please Include a UML diagram.

Note: This should not contain a GUI.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Program on Numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT