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

You also need to define the exceptions we will use -- the EmptyQueueException shown be thrown when dequeue or front is called on an empty queue, and the FullQueueException exception should be thrown when an queue is done on a queue whose size equals capacity. 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. Make sure that the code I have included to test your MyQueue class runs successfully.

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