Please help my java assinment.

In x-y coordinates, a rectangle is determined by specifying the points at its opposite corners. For this class, allow that to be done by specifying the x- and y-values of either of the pairs of opposite corners, by passing Point objects representing either of the pairs of opposite corners, or by passing a Line object and using the two points at its ends.

The class should have only two object variables, both of type Point. If Point or Line objects are passed to the constructors, copies of the points should be name (NB: the Point class will create a new point object if its constructor gets a point parameter).

The Plane class should have methods that return either of the two Points, and the height, width, area, and perimeter of the rectangle. It should also have a toString method that returns something like this: "A rectangle determined by the points (1.2, 4.38) and (-14.5, -2)" (I suggest rewriting the toString method of the Point class to include the parentheses, which is the standard way of notating x-y points.)

Subject | Computer |

Due By (Pacific Time) | 11/11/2014 12:00 am |

Tutor | Rating |
---|---|

pallavi Chat Now! |
out of 1971 reviews More.. |

amosmm Chat Now! |
out of 766 reviews More.. |

PhyzKyd Chat Now! |
out of 1164 reviews More.. |

rajdeep77 Chat Now! |
out of 721 reviews More.. |

sctys Chat Now! |
out of 1600 reviews More.. |

sharadgreen Chat Now! |
out of 770 reviews More.. |

topnotcher Chat Now! |
out of 766 reviews More.. |

XXXIAO Chat Now! |
out of 680 reviews More.. |