Question: Java Program Implement a restaurant waiting list application with the following features/functionality: A Reservation class which contains the customer name, number in the party and

Java Program

Implement a restaurant waiting list application with the following features/functionality:

A Reservation class which contains the customer name, number in the party and the phone number

A WaitingList class which contains the customer name and the number in the party

The reservation map will be empty until an entry is added. The map will grow for each entry. The application shall provide a dialog to add a new reservation, including the necessary information. The application must ensure that only one guest is added for each time. If duplicate time, it must keep the guest information while prompting for a new time. You must provide a way to both list the reservations and search for a reservation, as well as change the time for a reservation.

The waiting list will be empty until an entry is added. The application shall provide a dialog to add a new waiting list entry. The application should be able to pull of the longest waiting person off of the list, and keep track of the total number of customers that are currently on the waiting list.

This is supposed to be done as a JavaFX (GUI) application as well

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!