class Point {
int x, y;
Point(int x, int y) {
this.x = x;
this.y = y;
}
}
public class Geometry {
public static void main(String[] args) {
Point[] points = {new Point(1, 2), new Point(3, 4), new Point(5, 6)};
points[0] = points[1];
points[1] = points[2];
points[2] = null;
System.out.println(points[0].x + ", " + points[0].y);
}
}
What is the output of this code?