The newest version of the Java Development Kit 23 (JDK) has four new features in the newest release. The two major features which are noteworthy so far is the Vector API, a second preview of the Stream Gatherers, and a preview of primitive types in patterns – such as instanceof and
Other features that were previewed in the Java Development Kit 22 release could also make it quite easily into the Java Development Kit 23 release. These include statements before super(…), which would give developers greater freedom in expressing constructor behavior – meaning string templates. This would make it easy to express strings that include values computed at run time – meaning scoped values. This would enable sharing of immutable data within and across threads; and implicitly declared classes and instance main methods.
[proceeds to show a seemingly normal piece of code]
From the way I'm reading it, it sounds like a super() call in a constructor must be the first thing you do or something you don't do? I never knew that was a thing... Looking at my old java code, I haven't written Java since I graduated, this does seem to line up?