Java15 is the latest new version released by oracle released in September 14 2021.
It is also called Java SE Platform with Version 15.
It is Long term Support (LTS) version
- Text Blocks
- Sealed and hidden classes are added as preview in Java 15 version
- New String methods - stripIndent, formatted,translateEscapes
- New tools shenandoah GC and Z GC
- ShowCodeDetailsInExceptionMessages feature is enabled by default
- Record is a new type introduced to create immutable data objets
- Pattern Matching feature continue to support as a preview feature
Deprecated and removed
- RMI activation
- Solaris and SPARC Ports
What is the latest version of Java 2021?
java 15 or jdk15 is the latest version released in September 2021.
You can download from here