Homework 2

22C:22 Object-oriented Software Development
Due Wednesday, January 31, 2007

15 points


  1. Starting from textbook example 8.13, called "Order", create a more complex shopping cart application.

    A set of classes (and data files) that you can run and that meets the requirements is available in this zip file.

    You can try the sample either from Eclipse or from a command line. From a command line, you'd execute 'java Order catalog.text' In Eclipse, you'd need to add "catalog.text" (without the quotes) as an program argument (via the window that pops up when you select Run from the drop-down Run menu).


The original Order program (textbook example 8.13) worked as follows:



For this assignment, you must implement a more interesting Order program, similar to many on-line retail systems. The program must allow a user to


Detailed requirements for the new Order program:

Potentially helpful information: