Create Java Project named MultipleQueueProject in order to implement a new data structure called MultipleQueueClass for maintaining
Question:
Create Java Project named MultipleQueueProject in order to implement a new data structure called MultipleQueueClass for maintaining two queues A and B at the same time (in case you have two counter desks). You need to take into account the following requirements:
? The first element is inserted in the first queue A.
? A scenario when an element is already inserted in the first queue A, the second element has to be inserted in the second queue B.
? A new element is inserted in queue A if number of elements is the same in both queues.
? You need to delete an element from a given queue which has higher size of elements. You delete an element from the queue A if the size is the same in the two queues.
? You need to maintain the front and the rear of each queue.
? Maintain the elements of the two queues in two dimensional array list[ ][ ] Implement MultipleQueueClass using arrays to simulate two lines of queues in Counter waiting line. MultipleQueueClass should contains the following data members:
Managerial Accounting
ISBN: 9780073526706
12th Edition
Authors: Ray H. Garrison, Eric W. Noreen, Peter C. Brewer