Exercise set #7
Due Wednesday, Nov. 19.
Using a copy of your latest inventory program, modify it as follows:
- Take out all of the JOptionPane stuff (make sure you are doing this in a
copy of your latest inventory project - we will put the JOptionPane stuff
back in (and more!) for the exercise following this.
- Add a main program (as in HashMapExample) to serve as a test driver.
The test driver should add 3 - 4 parts to the HashMap, list them out, delete
one, and list out the resulting list. Each test should be accompanied
by a suitable message (use System.out.println for all printed messages).
- Convert the ArrayList to a HashMap.
- The test driver should add 3 - 4 parts to the HashMap, list them out,
delete one, and list out the resulting list. Each test should be
accompanied by a suitable message (use System.out.println for all printed
messages).
- Following the steps above, submit your project using the Tools -> Submit
option. I will send you a reply acknowledging the receipt of your
project.
Please note: Since I will be responsible for unpacking, printing files,
and running your project it may take a few extra days to get your graded
projects back to you.