Search:

Type: Posts; User: John Joe

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    2,940

    Re: IsSquare Method

    You're welcome
  2. Replies
    5
    Views
    2,940

    Re: IsSquare Method

    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...
  3. Replies
    5
    Views
    2,940

    Re: IsSquare Method

    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.
Results 1 to 3 of 3