Records are another modern Java feature (finalised in Java 16) that dramatically reduce boilerplate when modelling simple immutable data carriers. 1. What problem do records solve? In Java 8, if you wanted a class that just holds data (say User with...
jainmohit0807.hashnode.dev3 min read
No responses yet.