Applying Object-Oriented Principles in Java ProgramsRecords: what the header generates
In one line: A record header generates private final fields, a canonical constructor, same-named accessors, and value-based equals and toString.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.
Spotted a mistake in this part?