Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Restaurant class and a Junit class for RestaurantTest, using the methods provided in the UML diagram. For the other 3 classes provided, create

Create a Restaurant class and a Junit class for RestaurantTest, using the methods provided in the UML diagram. For the other 3 classes provided, create skeleton code using the methods/info provided.

image text in transcribed

Table + int size) returns size; returns the size of tables available for guests +List utensils returns list returns a list of available utensils; ---Boolean toddlerChaireturns true if there is a toddler chair available Boolean booth) returns true if there is a booth available else return false for a table > +double tip0returns tips; returns tips for the server +Boolean checkld0 return true if age is 21 or older else return false +List Menu returrn list; returns a menu of the food +ListcustomerOrder) returns +void addEmployee0 adds an employee to the List of employees +ListcRestaurant> foodServed0 returns list; +int budget0 returns budget returns the restaurants budget +List drinksServed0 returns List; returns a list of drinks of tap +int kitchenCookTimeO returns cookTime; returns how many minutes the order queue will take _-___ -list: returns a new list of orders from customers +List assignedTableso returns list; returns a list of tables not used by customers double cashOut) returns cash; returns the total amount of cash received from the day Party + int partySize0 returns size returns the size of the current +Boolean hasKids0 returns true if the party has kids +int waitTime0 returns wait time + boolean reservation returns true if the party has a reservation +double payment) returns total dinner price; + int age0 returns the individuals

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Was Carly Fiorina treated fairly by the board? Why or why not?

Answered: 1 week ago