Java Records: The End of Boilerplate Code?

Record is a special kind of class which allow us to create immutable data classes by minimizing the need for repetitive boilerplate code.