Skip to content

Glossary: Software Design Patterns in Java

Record

Also written: records

A short Java class that holds data with unchangeable fields, like `Customer` and `Item`. To change one you make a new record.

Where the book teaches it

Related terms

PrototypeImmutable