Due: Monday, April 7, 10:00 am
1) (40 points) Exercise P15.12 (page 694). See section 15.4 for a discussion of queues. If an element is added to a full queue, throw a RuntimeException with the message "queue is full". If an element is removed from an empty queue, simply return null. Use this unit test case to test your class; ensure that all test cases succeed.
2) (20 points) Exercise P16.1 (page 760)
3) (20 points) Exercise P16.44) (20 points) Exercise P16.15