record Point(int x, int y) {}

void main() {
    Point a = new Point(3, 4);
    Point b = new Point(3, 4);
    Point c = a;

    IO.println(a.equals(b));
    IO.println(a == b);
    IO.println(a == c);
}

// From Groundwork, chapter 10 (ch10-records), box 3.
// This example is from Groundwork, licensed CC BY-NC-SA 4.0.
// Run with: java ch10_03.java
