Question: Through the use of Java please solve: Tables.txt Menu.txt This assignment mimics the configuration and the activities happen at a typical restaurant. Configuration file tables.txt

Through the use of Java please solve:

Tables.txt

Through the use of Java please solve: Tables.txt Menu.txt This assignment mimics

Menu.txt

the configuration and the activities happen at a typical restaurant. Configuration file

This assignment mimics the configuration and the activities happen at a typical restaurant. Configuration file tables.txt contains the table information & menu.txt contains the full menu list (sample files have been attached).

We will use the following classes to complete this assignment. Feel free to add more variables if needed. Avoid making drastic changes to existing variables. You need to define the classes and implement all the .java files including class implementation and the overall application functionality.

- Table : status, # of max seats, # of guests if a party is seated, order if the party has ordered

- MenuItem: itemCode, name, price

- Menu : array of MenuItems

- Order : a list of menu items ordered at a table

Read the configuration file and create the necessary objects / array of objects, then proceed to read the activities from the user and process them one at a time. Do not use any advanced data structures that have not been covered in the class.

Here is some sample input & output to capture the functionality of the program:

tables.txt contains the table information & menu.txt contains the full menu list

1 2 2 4 3 2 4 2 5 2 6 4 7 6 8 10 9 2 10 4 11 4 12 4 13 4 14 2 15 2 16 2 17 2 18 2 50 20 1 2 2 4 3 2 4 2 5 2 6 4 7 6 8 10 9 2 10 4 11 4 12 4 13 4 14 2 15 2 16 2 17 2 18 2 50 20

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!