CS49J

Remember not to create packages. Use the default package

8A

Write a class CircleProcessor which manages an array of Circles. You are given a Circle class.

The constructor of the CircleProcessor takes an array of Circles. The array must contain at least one element

Provide these methods

Codecheck URL

8B

You are going to to work with a partially filled array in this problem. Write a class to manage an array of Strings. Call the class WordProcessor. WordProcessor constructor takes no parameters but initializes the array so it can hold 8 elements. Define a constant for 8, perhaps INITIAL_CAPACITY.

Provide methods:

Codecheck URL

8C

For this problem you will create a crude temperature map. A TemperatureMap class indicates areas of different temperature by the use of different colors. Our map will represent a square area. The temperatures are contained in a 2d int array. Each element in the array represents the temperature in a square area 20 miles on a side. We assume the temperature is the same through-out the area.

The constructor takes a 2d array of ints as a parameter

Provide these methods:

The map will look like this

map

Codecheck URL