Код: Выделить всё
package models;
public class Point {
private double x;
private double y;
// constructor having both parameters
// distance(Point dest) - distance from current point to the dest point
// toString
Подробнее здесь: https://stackoverflow.com/questions/798 ... -add-it-to
Мобильная версия