In Java, Create 8 Classes: An OliveGarden class: - Contains your main method. -A
ID: 3789995 • Letter: I
Question
In Java,
Create 8 Classes:
An OliveGarden class:
- Contains your main method.
-An ArrayList that creates 4 customers
-calls grabInfo() method
A Restaurant class
-has 2 attributes: a houseMax and a waitListMax.
-Each restaurant contains a server, a backofhouse, a frontofhouse, and 4 customers.
-class must have a grabInfo() method that returns all of the information about the restaurant, each customer, server, frontofhouse and backhouse with all of their addresses and employee handbooks.
A Server class-
-has 2 attributes, yearsServed and serverAge.
-has an employeeHandBook
-has an address
A Customer class
-has 2 attributes, a customerName and and a customerAge
-has an address
A BackofHouse class-
-has 2 attributes, BOHChef, BOHBusser,
-has only an employeeHandBook
-has an address
A FrontofHouse class-
-has 2 attributes, FOHHost, FOH, Bartender
-has an address and an employee handbook,
An address class-
-3 attributes, city, state, zip
A employeeHandBook class-
-2 attributes, trainingHours and trainingWork.
Explanation / Answer
OliveGarder.java ---
EmployeeHandBook.java ----
Address.java ------
FrontOfHouse.java -----
BackOfHouse.java -----
Customer.java ------
Server.java -------
Restaurant.java -----
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.