Java 15¶
Java 15 (2020):
- Sealed Classes (preview): Restrict which classes can extend a sealed class.
-
Hidden Classes: Classes that cannot be used directly by the bytecode of other classes.
-
Text Blocks (standard): The preview feature from Java 13 became standard.