|
When would it be more useful to regard each circle in a drawing as an individual object? A good answer might be:In a drawing program, or computer aided design program. A drawing program usually allows users to click on an object in the drawing (such as a circle) and drag it to another location. For an application like that, it is useful to have a software object that corresponds to the object in the drawing. | |
Start on the Circle Class
So our Circle will be a drawing tool. The circles drawn in the picture will merely be the traces left behind each time the tool is used. A start on the class is at the left. Let us think about the variables that a Circle needs. | |
QUESTION 3:At a minimum, what variables are needed? Click Here after you have answered the question |