I'm going to guess that the isSquare method is to test if the rectangle is a square. A rectangle is only a square if it's length and width are equal.