//  Data Structures with Java by John R. Hubbard
//  Copyright McGraw-Hill, 2001
//  Problem 1.16 on page 22


public class Pr0116
{ public static void main(String[] args)
  { Point p = new Point(4,-3);
    System.out.println("p = " + p);
    Point q = new Point(7,1);
    System.out.println("q = " + q);
    System.out.println("p.distance(q) = " + p.distance(q));    
  }
}
