package job4j;
/**
* Class      .
* @author dlukyanchuk
* @since 27.02.2017
* @version 1
*/
public class Point {
/**
* TODO.
*/
	private double x;
/**
* TODO.
*/
	private double y;
/**
*  Point(double x, double y).
* @param x - value
* @param y - value
*/
		public Point(double x, double y) {
			this.x = x;
			this.y = y;
}
/**
*  distanceTo -     .
* @param point - 
* @return - 
*/
			public double distanceTo(Point point) {
				return Math.sqrt(Math.pov(point.x - this.x, 2) + Math.pov(point.y - this.y, 2));
}
}


@@ -445,25 +445,25 @@
 sqrt(Math.po
-v
+w
 (point.x - t
@@ -481,17 +481,17 @@
  Math.po
-v
+w
 (point.y

Correct pow