Create a class named Circle with a field for the radius. Be sure to include the following:
Recall that the diameter of a circle is twice its radius and that the area of a circle is 3.14 times the square of its radius.
After creating this class, write a second class, TestCircle, that has a main() method in it. Have this program create a Circle object with radius 10. It should also create a second Circle object that uses the radius set by the default constructor. Once the objects have been created, write code to display the diameter and area of both circles in an attractive fashion.
Although the output from your program is not required to look this way, it might look something like:
The Circle with radius 10.0 has diameter 20.0 and area 314.0.
The Circle with radius 1.0 has diameter 2.0 and area 3.14.
When you are finished, submit both the Circle.java and CircleTest.java files for grading.