The student will practice using the drawPolyline method in this activity. The student should review the previous assignment before attempting to complete this assignment.
EXAMPLE: The student will create an applet like the one shown here. This activity provides the student with practice using the drawPolyline method. |
x |
ASSIGNMENT:
The student must complete this assignment without using drawLine (not even
once!!!). The coil must be five layers deep which means that there will be a
total of 21 points to plot. This means that the student will have to create
two arrays of 21 integers each and all these array elements will have to be
assigned values.