Don't hold your breath, though – architect Brian Goetz warns devs it will likely still be preview in next LTS release ...
Creating simple data classes in Java traditionally required substantial boilerplate code. Consider how we would represent Java’s mascots, Duke and Juggy: public class JavaMascot { private final String ...