|
Program |
Description |
Due Date |
|
Item |
Download the Item class (in the grocery
project) from the Share folder and complete the methods
specified. Test the class using the enclosed test file, and
submit the class through the inbox. |
Monday 9/25 |
|
Cart |
Download the cart class from the share
folder (in the grocery project) and place it in the same folder as Item
(if it is not already in your project). Complete the methods as
specified and test using the provided test class. Submit the
class through the inbox. |
Wednesday 9/27 |
|
Difference |
An optional operation that might be implemented for a set is difference. This operation would take a set as a parameter and subtract the contents of that set from the current set if they exist I the current set. The result would be returned in a new set. Implement this operation. Be careful to consider possible exceptional situations. |
|
|
Intersection |
Another operation that might be implemented for a set is intersection. This operation would take a set as a parameter and would return a set containing those elements that exist in both sets. |
|
Phase II:
|
Program |
Description |
|
Item |
What other information should be stored
about a grocery item? Add private variables as well as methods to
implement that functionality and print the code to turn in. |
|
Cart |
Implement the ability to use coupons in the
file. Change the parameter being passed to a LinkedList
of coupons using the coupon item in the share folder. |