/*  Square.java
 * Implements a square
 */

public class Square extends Rectangle {
  // A quare is simple because here both sides are
  // equal. So we just initalize with the length of
  // one side.
  
  // Constructor
  public Square(double length) {
    super(length, length);
  }

  public String toString() {
    return ("Square:\n" + super.toString());
  }
}
