Homework 1
22C:22 Object-oriented Software Development
Due Monday, January 22, 2007
1. Compile and run the Ruckus.java program.
Determine why it's behavior is probably different than what the developer intended.
Create and test a new version (with a new name, RuckusNew)
that addresses the problem.
Electronically submite your homework according to the guidelines on the class WWW home page. For the
on-line part of the submission, respond 'hw1' to the ``Location:'' request.
Also, you must hand in a paper copy of your README.text file.
For the electronic submission, submit a directory/folder containing
- a README.text file with two parts:
- describe what platform you worked on and which (if any) IDE you used. E.g.,
"I worked on the Linux machines in 301 MLH using Eclipse." or "I worked
on my home Windows machine and used command line Java ('javac' and 'java'). Describes
and difficulties you had or errors/problems with your results.
- in the second part, clearly explain why the first version gives the answer it
does, and why the new version does what it does.
- your two source code files (you can provide the compiled class files also, but they're
not required. We must have the source code, though.)
This exercise should be easy. The point is simply to make sure that you can
create and execute a simple Java program and use the on-line submission system.
Some people in this class, I believe, have never actually created a Java
(rather than C#) program before.