Question: JAVA PLEASE HELP Lets consider a concession stand with only 10 items for sale. Consider the following a string array with the names of the
JAVA PLEASE HELP
Lets consider a concession stand with only 10 items for sale. Consider the following a string array with the names of the ten items:
| Candy | Soda | Hotdog | Fries | Burger | Shake | Chips | Water | Gum | Milk |
Write a method that has an integer parameter passed to it, and if the integer value is in the range of 0 to 9, then the method should return the string describing name of the corresponding item.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
