Uncomment the function body of distance method in Lab4.java.
You need to use the distance formula to find distance between any two points.
This method is defined and implemented in Lab4.java.
The method is however NOT part of your Point class.
The reason why Distance method is not part of Point class is that Point class encapsulates a single point
in the coordinate plane, while distance method gives distance between any two points in the coordinate plane.
Hence it cannot be a member method of Point class.
public static double distance ( Point point1, Point point2 )
Distance formula:
distance = square root of [ (x1 - x2)^2 + (y1 - y2)^2 ]