Lab 9 Post-Lab Assignment: Drawing Circles

Due Monday, November 10, 2002

Write a Circle class that stores the following information as instance variables: Your Circle class should provide the following methods:

When your Circle class compiles, write an applet DrawCircles that uses your Circle class to create and draw 10 circles. This code should be very simple; the paint method will contain a loop with just two statements -- create a Circle, then draw it. Don't forget to pass the Graphics object to draw.

Be sure your program is appropriately documented.

Hand-in: