The Point class should be declared as a class and should meet all the requirements listed below. Its purpose is to store the Point (width and height) of a two dimensional, rectangular geometric figure.

The Rectangle class should be declared as a public class that implements the FigureGeometry interface described in the Chapter 3 Assignment sheet and should meet all the requirements listed below. Its purpose is to store of a rectangular figure (using the POint class described in the Chapter 3 Assignment sheet) and provide the methods necessary to calculate the are and perimeter of such a figure.

The square class should be declared as a class the includes the FigureGeometry interface described in the Chapter 3 Assignment Sheet and implements the FigureGeometry interface described in the Chapter 3 Assignment sheet and should meet all the requirements listed below. Its purpose is to store the Point of a square figure (using the Point class describedin the Chapter 3 Assignment sheet) and provide the methods necessary to calculate the area and perimeter of such a figure.

The circle class should be declared as public class that implements the FigureGeometry interface described in the Chapter 3 Assignment sheet and should meet all the requirements listed below. Its pusporse is to store the radius of a circular figure and provide the methods necessary to calculate the area and perimeter of such a figure.

The FigureGeometry interface should be declared as a class FigureGeometry and should meet all the requirements listed below. Its purpose is to declare all the necessary methods that any geometric figure, such as a circle, rectangle, or square, should contain. The FigureGeometry interface should also declare a numeric constant, called PI, which can be used by classes that include the FigureGeometry interface. Students should also note that the inclusion of instance variables within an interface declaration is not allowed; only static constants may be defined within an interface declaration.

The TestAll class should be declared as a class and should meet all the requirements listed below. Its purpose is to implement a main method which creates three objects -- a Circle object, a Square object, and a Rectangle object -- and test each of the files that have been designed for the Chapter 3 Assignment.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.