Hi and welcome.
Please put code in code fences so it’s properly formatted.
In Java you don’t type the parameter names when calling constructors or methods. So instead of new Point(x: 1, y: 2);
type new Point(1, 2);
Hi and welcome.
Please put code in code fences so it’s properly formatted.
In Java you don’t type the parameter names when calling constructors or methods. So instead of new Point(x: 1, y: 2);
type new Point(1, 2);