Scoped values
A scoped value (Java 25) shares data with the code you call, for example the current user, without passing it as a parameter.
Flexible constructor bodies
Flexible constructor bodies (Java 25) let you run statements before calling `super(...)` or `this(...)`, as long as they do not use the object being built.
Module import declarations
A module import (Java 25) imports every public class that a module exports with one line, `import module java.base;`.
Compact source files and instance main
Compact source files (Java 25) let a small program be just a `void main()` method, with no class declaration and no `public static`.