For this lab day you can work on the lab computers or on your own computer (if
it is with you in the lab). In the instructions below the term ``your workspace"
refers to the files you are working on whether they are on your own computer or on
the lab computer.
In your workspace make sure you have the most recent code from the base
repository and from your homework repository on bitbucket.
Open the Driver.java you created in the prelab assignment and show
it to the lab instructor.
Modify the Movie class to have a constructor with three parameters
used to initialize the object. Modify the driver code to demonstrate your
Modify the Movie class to have a toString() method.
Modify the driver code to demonstrate the new method.
Show your work to the instructor. Then commit your changes.
In your driver create an array of 10 Movie objects. Use a for-loop
to initialize them (via your constructor) to have the following contents:
Title Genre Year
Movie 1 Action 2000
Movie 2 Action 2001
. . .
. . .
. . .
Movie 10 Action 2009
Have the driver display all 10 movies.
Once you are satisfied with your program commit your changes. Then push
your lab day work to your hosted repository.
If you finish early begin work on the homework assignment.