You're welcome
Type: Posts; User: John Joe
You're welcome
Try this
public class Rectangle {
private Point upperLeft; // the upper left corner point
private double height; // the height of the rectangle
private double width; // the width...
There are few errors in your code:
1. No need to declare two classes. One classes have enough.
2. isSquare method will not get called as you are not defining it.