Arrays of Objects due Mon 06 Feb 10:00

This assignment provides an opportunity to make use of classes ... existing code to utilize a new
data structure


Make sure that you have finished all of the lab day instructions and that your working space and bitbucket repository are appropriately in sync.

For this assignment you will modify the movies program we have been working on so that instead of having three parallel arrays you will have a single array of Movie objects. You have already created a functional Movie class and have played with creating an array of objects so this will be a natural extension of that work.

In making this transition I would start by copying the working movies program from hw02 into hw03. You should rename it so something like to indicate how it will be different from the original.

You will need to remove the parallel arrays and replace them with a single array of objects. If I were doing this assignment I would comment out all of the methods that refer to the parallel arrays except for loadMovies(). The loadMovies() method will probably be the hardest one to write but is nice to put first because once it is working you'll have a built array for testing the other methods. Once you think loadMovies() is working go ahead and get displayMovies() to work. Don't forget to commit when you reach that milestone.

Then you can systematically uncomment the other methods and convert them to make use of the new data structure. Some things to consider:


The assignment will be graded according to the following criteria:
Correctness 16 pts
Documentation 2 pts
Conventions 2 pts
Version Control 2 pts
Total 22 pts

Your program should be completely working and should follow all of the programming conventions named in class and explained in (including the use of comments that conform to the JavaDoc guidelines).

The instructor will grade your work based on what you have pushed to the hosted homework repository you have shared. For all assignments the program is due before the beginning of class on the due date. Repositories that show a commit time after that time will be graded as late.

Quick Links