Java 17 record vs class July 8, 2019 16 32 64 128 Java 17 record class Java 17 record class example Java 17 record classes are used to create immutable classes