Structures (records)

record Brush() {}

//In Java there are no properties
record ColorPoint(int x, int y, Brush color) {}

var point = new ColorPoint(
    15new Brush());

System.out.println("point is " + point);