Question: I'm attempting to create Take out menu using a set of arrays and array lists to populate a menu, view menus, place an order and

I'm attempting to create Take out menu using a set of arrays and array lists to populate a menu, view menus, place an order and print out the order. I'm having a hard time figuring this out. Thank you very much!

My code so far,

package com.company; public class Main { public static void main(String[] args) { ArrayList items1 = new ArrayList(); items.add(new Menu("Fish", price, 5)); items.add(new Menu("Meat", price, 4)); items.add(new Menu("Veggie", price, 9)); double[] t = Cost(items); for (double d : t) System.out.print(printAmount(d) + " "); } }

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!