CSSE 220 – Object-Oriented Software Development
Homework 6
Objectives
Practice creating, documenting, and testing classes based on a given public interface. More graphics and math practice.
Tasks
-
Complete the assigned reading for the next session: Big Java Chapter 4.
- As you read, see if you can answer the self-check questions.
- Bring your questions to class!
-
Complete the assessment exercise over this reading on ANGEL (under Lessons → Assignments).
-
Programming:
- Mutchler's section only:
Complete the SwingDemo1 project.
(Boutell's section: you might find this project interesting, but you are NOT expected to do it.)
- The two sections have different instructions for the Faces project, as follows:
- Boutell's section: Continue the Faces project by implementing rotations,
as suggested by the picture below. In particular:
- Make your Face constructor able to set the angle of the face in degrees (NOT radians).
- Make your Face drawOn method draw the Face at its specified angle.
- Implement your Face rotate method.
Faces starting at 0° and rotated -30° for each successive face.
- Mutchler's section: Work a reasonable amount (as discussed in class)
toward the Faces project.
Turn-in Instructions
Turn in your programming work by committing it to your SVN repository.