class Point implements Serializable, Cloneable {

    @Override
    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof Point) {
            Point p = (Point)obj;
            return x == p.x && y == p.y;
        }
        return false;
    }

    public  Point();
    public  Point(int x, int y);
    public  Point(double x, double y);
    public  Point(Point p);

}