CSCI 201 Fall 2002: Assignment 5


In this assignment, you are given a project in the form of a jar file as a starting point. When you extract the project, you will find two classes:

and one interface: Your job is to expand the project by creating a Square class that implements the the ShapeInterface. Once that class has been created, modify the Driver class to create 8 Square objects and draw then as described in the comments provided in main().

Programming Style

Note that 10% of your program grade is based on the readability of your program. This includes things like style, comments, and the naming of variables. Make sure you include a comment at the top of each program with your name, course and purpose of the program specified.

// Name: YOUR NAME HERE // // Course: CSCI 201 // // Purpose: purpose of program here //

Submitting Programs

All code that you write for this assignment must be turned in by transferring the respective java source code files to your ftp directory for this class. This means that you should turn in your Square class and your modified version of the Driver class. Only the source code files (i.e., Square.java, and Driver.java) should be turned in and the files must have exactly those names. You were shown how to transfer files to your class ftp directory in lab 1.