Question: c) Consider a simple program which is written to handle orders from customer at a restaurant. The manager wants his chefs to process the

c) Consider a simple program which is written to handle orders from customer at a restaurant. The manager wants his chefs to process the order on first come first serve basis. Consider order as a class which can be used to create multiple orders and arrange these orders in a way such that serving of orders are in same sequence as placing orders. Give implementation using Java. Also specify which data structure would you use? (3) VIDEO Shot on vivo 51 Al Triple Camera 2020.06.11 15:12 [15 Marks]
Step by Step Solution
3.43 Rating (143 Votes )
There are 3 Steps involved in it
The data structure I would use is a queue public class Order private int order Number private S... View full answer
Get step-by-step solutions from verified subject matter experts
