title: Unable to declare point() type in Java15
body: <pre><code>3    import java.awt.*;
  4    
  5    public class Main {
  6    
  7        public static void main(String[] args) {
  8            Point point1 = new Point(x:1, y:1);
  9            Point point2 = point1;
  10           point1.x = 2;
  11           System.out.println(point2);
  12       }
  13   }
  </code></pre>
  <p>I'm getting an error that '<code>)</code>', '<code>;</code>' is expected in <em>line 8</em> and <em>line 8</em> is not a statement. (Currently using Java15)</p>