public class TryPoint {
    public static void main(String[] args) {
        Point a = new Point(7, 3);
        System.out.println(a.getX());
        a.setX(23);
        System.out.println(a.getX());

    }
}

