(Solved):In Java, create a Circles class and tester. The Circle class represents a circle. A circle has a color (“red”, “yellow”, or “blue”) and a radius. Separate circle methods return the color, calculate… View Answer…

 

Question

In Java, create a Circles class and tester. The Circle class represents a circle. A circle has a color (“red”, “yellow”, or “blue”) and a radius. Separate circle methods return the color, calculate and return the circumference, and calculate and return the area. The CircleTester class uses the Circle class, gets user input to create a new circle, and does calculations on it.

Partial pseudocode outline of the Circle class:

Constants: set

Scroll to top