/**
 * An extended point class.  Created to help CSC152 students with
 * HW2 (Lab 03 of Experiments in Java), based on the instructions
 * in Lab O2 in Experments in Java.
 *
 * @author Samuel A. Rebelsky
 * @version 1.0 of September 2000
 */
public class ExtendedPoint
  extends Point
{

  // +--------------+----------------------------------
  // | Constructors |
  // +--------------+

  /**
   * Build the point (1,1).
   */
  public ExtendedPoint() {
    super(1,1);
  } // ExtendedPoint()

  /**
   * Build the point (x,y).
   */
  public ExtendedPoint(double x, double y) {
    super(x,y);
  } // ExtendedPoint(double, double)

  // +-----------+-------------------------------------
  // | Observers |
  // +-----------+

  /** 
   * Convert the point to a string for ease of printing.
   */
  public String toString() {
    return "x=" + this.xcoord + ", y=" + this.ycoord;
  } // toString()

} // class ExtendedPoint

