In this homework, you should complete the MyQueue (sorry, this should be ArrayQueue) class from here , which implements the Queue interface. The methods of the MyQueue (again, ArrayQueue) class should implement the queue Abstract Data Type using a "circular array", as discussed in class on Friday, Oct 18. This discussion is based on Section 5.2.2 of the textbook, so please read that section if needed.

The EmptyQueueException shown be thrown when dequeue or front is called on an empty queue. A FullQueueException exception should be thrown when an enqueue is done on a queue whose size equals capacity. While the EmptyQueueException class has already been defined for you, you should define the FullQueueException in a similar way.

See Section 5.1.1 to learn about how to define these exception classes; that section shows how the EmptyStackException is defined and thrown in the context of a stack.

Submit the source files into a dropbox in ICON called Homework5. This assignment is due by 11:59 pm on Wednesday, Oct 23.