DEV Community

Vijay SRJ
Vijay SRJ

Posted on • Originally published at fullstackdeveloper.guru

Java 17 features

Java 17 features are finalized and sealed. As of this writing , it is going to be released next month (September 2021).

Though there are around 14 new features introduced in this release , only two of them directly help developers and they should be aware of these.

Those two are :

Pattern Matching for Switch
Sealed Classess
Pattern Matching for Switch is introduced as a preview feature and it is one among the ongoing features released by the Java team in the pattern matching series.

This is explained in detail here with examples :

Pattern Matching for Switch

Sealed classes were introduced in Java 15 as a preview feature and have now become a permanent feature in Java 17.

Here is a detailed explanation on this :

Sealed Classes

Most of the remaining features are related to the JVM .

Here is the full list :

https://openjdk.java.net/projects/jdk/17/

Top comments (0)