Skip to main content

Records

Learn Records (Java 17 Features, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

1. Introduction A record is a concise immutable data class whose constructor , accessors, equals, hashCode and toString are generated from its components.

More lessons in Java 17 Features