2 . Create a ChezWoolie class. It will
be your main class. At a minimum it will need the following private
states:
●The count of Woolie Diners currently
in the restaurant.
●A data structure to represent the
conveyor belt loaded with food in the
center of the restaurant (declaration of a generic list of
<Food>).
●Don’t forget the constructor where it
initializes the count of diners to 0 and creates new list .
●Write a method that takes diner type of client (“Diner diner”)
as input. A diner will call this when it
enters or exits
the restaurant. NOTE: One diner may attempt to call this method at
the same time.
●This method will increase the number of diners.
2 . Create a ChezWoolie class. It will be your main class. At a minimum it will need the following private states: ●The
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am