Question: Please I need help with this project. And please try to answer the questions. Draw the UML diagram for the class. Implement the class. Write

Please I need help with this project. And please try to answer the questions.

Please I need help with this project. And please try to answer

Draw the UML diagram for the class. Implement the class. Write a test program that creates a Circle object cl (new Circle (2, 5.5) ) , displays its area and perimeter, and displays the result of cl . contains (3, 3) , cl. contains (new Circle (4, 5, 10.5) ) , and cl . overlaps (new Circle (3, 5, 2. 3) ). Hint: 1. Distance between two points (x1, y1) and (x2, yz): Distance = / ( x, - x) + (y, - y,) 2. A point is contained in a circle if its distance from the center is less than the radius 3. One circle - with center at (x,y) - is contained in another if these four points on the inner circle are contained in the outer circle: (x+radius, y), (x-radius, y), (x, ytradius), (x, y- radius) 4. Two circles overlap if the distance between the two centers is less than or equal to 'radius1 + radius2' Analysis: (Describe the problem including input and output in your own words.) Design: (Draw an UML class diagram) Coding: (Submit the archive file) Testing: (Describe how you test this program)

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 Programming Questions!