Question: please use eclipse CPS 2231 Computer Organization and Programming Chapter s9 - lab 2 : Write a class XXX_Circle, (xxx is your Kean Id) (20

 please use eclipse CPS 2231 Computer Organization and Programming Chapter s9

please use eclipse

CPS 2231 Computer Organization and Programming Chapter s9 - lab 2 : Write a class XXX_Circle, (xxx is your Kean Id) (20 points) - A Circle has a radius, for example, 4.0 or 3.25 - It also has a date created fieid of type Date - Write the instance variables, the accessors (getters), the mutator (setter - only for radius) and two constructors for the class. One of the constructors should be the no args constructor Add two additional methods: getArea and getCircumference (google the formulas) - Write a class TestCircle: - Create a Circle with the radius 4 - Print the radius using the getters - Print the Circle's area and circumference - Change the circle's radius to 6 - Reprint the information

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!