Records encapsulate data with a focus on immutability and equality.
Records in Java emphasize the idea of data being value-like, meaning they are immutable and two records with the same data are considered equal. This makes them ideal for representing simple data carriers, like a `Product` record in an e-commerce system that holds `name` and `price`.
Additional Notes
Why are records considered value-shaped data types?