my problem is that I can't create a unique code for myself, but if you add it to me or write me tips, I will be very grateful
00:00 21 Dec 2025
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

help me pls i dont know how write them code,i a m begginer write me a more unique code for the constructor like for example KISS DRY

java