News

The code example below (from the JEP) shows that the proposed new data classes, called records, are similar to Kotlin’s data classes, with most of the standard methods derived automatically.