subject

Assignment 9: Coffee Menu Manager!Assignment DescriptionCreate a program to help some local coffee shops manage their menus Requirements The class contains:1) A method called defaultMenu that returns a String list and has no parameters. When called, the method returns a string list containing the following elements: {"Coffee", "Americano", "Cappuccino"}2) A method called customMenu that returns a String list and has an int parameter. When called, the method will create a new string list, then ask the user for items to place on the menu based on the int parameter. For example, if the call is customMenu(5), the method will ask for 5 items to put on the menu. Once the menu is complete, the method will return the created list.3) A method called printMenu that has a void return and has a string list parameter. The method will output the number of items in the list and then the names of the menu items4) In the main method:a. Create two string listsi. Assign one to the call of defaultMenu ii. Assign one to the call of customMenu with a parameter of 4, make up your own menu itemsb. Remove the item of "Americano" from the list created with defaultMenuc. Add an item to the list created with customMenu g

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
You wanted to look up information about alzheimer's, but you were unsure if it was spelled "alsheimer's" or "alzheimer's." which advanced search strategy would be useful? a) a boolean search b) using a wild card in your search c) trying different search engines d) doing a search for "alsheimer's not alzheimer's" asap. ill give brainlist.
Answers: 1
question
Computers and Technology, 24.06.2019 12:40
Match the feature to the network architecture. expensive to set up useful for a small organization easy to track files has a central server inexpensive to set up difficult to track files useful for a large organization does not have a central server client- server network peer-to-peer network
Answers: 3
question
Computers and Technology, 24.06.2019 14:30
In a home that has 120 v service, there is an electric appliance that has a resistance of 12 ohms. how much power will this appliance consume? a. 10 w b. 120 w c 1200 w d. 1440 w
Answers: 1
question
Computers and Technology, 24.06.2019 15:40
In the above figure, what type of cylinder arrangement is shown in the figure above? a. l-type b. v-type c. in-line d. horizontal pls make sure its right if its rong im grounded for 3months
Answers: 1
You know the right answer?
Assignment 9: Coffee Menu Manager!Assignment DescriptionCreate a program to help some local coffee s...
Questions