Assignment 2

The second assignment has to be handed in before October 6. Students should put their name, student number and Ariel login name on their assignment. There is an assignment box for this course on the first floor of CCB. The second and third part of the assignment consist of completing a class definition. A print out of the completed class definitions (for the third part, only the main method needs to be printed out) should be handed in (no documentation is required) and the class definitions (of Body and ColoredCircle, but not of Point and Color) should be submitted electronically. Use Body.java and ColoredCircle.java as the filenames of the Java programs. On Ariel, type
submit 2011 a2 Body.java ColoredCircle.java
to submit the programs. If the files are successfully submitted the message like
submitted:  Body.java (785 bytes)
submitted:  ColoredCircle.java (1216 bytes)
All files successfully submitted
is printed. For more details, see the manual page of submit. Programs that do not compile or run on Ariel are awarded an F. The letter grade for the assignment is a rough average of the letter grades for the three parts.

The second assignment can be found here.

The office hours of the teaching assistant can be found here.

Reading material

More Features of the Java Language

Additional material

X.java
Y.java