Question: java only Lab 7 Consider a class that represents a circle. An object of this class will have the following attributes Color Radius and the
Lab 7 Consider a class that represents a circle. An object of this class will have the following attributes Color Radius and the following methods: . display() which will print the color and the radius computeArea) to compute the area of the circle computeCircumference) to compute the circumference of the circle Implement this class in Java. Now download CircleDriver class that tests your implementation. When you run the provided class, you should see the following output: I am a circle my color is green my radius is 10.0 circle area: 314.159226 circle circumference: 62.8318452 Please submit both the java file and the *class file. No credit will be given if the *.class file is not submitted
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
