You are on page 1of 1

Starting in the main() function:

AirlineCheckinSim sim = new AirlineCheckinSim() creates a new sim object


Then asks a list of questions and enters the data give by the user in the
PassengerQueue class
PassengerQueue uses the usual setters and getters
In run simulation the program uses data stored in the PassengerQueue class
The startServe function will clock the time past while serving each individual
customer
This also goes into the passenger class to grab the processing times and
other times of each individual customer
showStats() returns the data from the prgram through the use of getters in
Passenger Queue and the size of the queues

You might also like