@@ -0,0 +1,381 @@
+package ggordeev.sandbox;%0A%0A/**%0A * Created by g.gordeev on 29.02.2016.%0A */%0Apublic class Point %7B%0A%0A  public double x;%0A  public double y;%0A%0A  public Point (double x, double y) %7B%0A    this.x = x;%0A    this.y = y;%0A  %7D%0A%0A  public Point() %7B%0A%0A  %7D%0A%0A  public double distance(Point p1, Point p2) %7B%0A    double x = p1.x - p2.x;%0A    double y = p1.y - p2.y;%0A    return Math.sqrt(x * x + y * y);%0A  %7D%0A%7D%0A

Revert "Revert "Тренировка. Вычисление расстояния между точками""