Use Java Priority Queue. Make a priority queue to represent customers being served at the Department of
Fantastic news! We've Found the answer you've been seeking!
Question:
Use Java Priority Queue. Make a priority queue to represent customers being served at the Department of Motor Vehicles.
- Start with 100 customers in a List.
- In a loop, generate a priority for each customer (1-5)
- In a second loop, add the users to a priority queue
- Print the List and the Priority Queue
Related Book For
Managerial Decision Modeling with Spreadsheets
ISBN: 978-0136115830
3rd edition
Authors: Nagraj Balakrishnan, Barry Render, Jr. Ralph M. Stair
Posted Date: