public class Point {
  int x;
  int y;

  /* constructor. special method called only when
   *      we create a Point object using "new" */
  public Point(int initialX, int initialY) {
    x = initialX;
    y = initialY;
  }

  public String toString() {
    return "(" + x + "," + y + ")";
  }
}

