Java 15 introduces a new language feature: sealed classes and interfaces. JDK 15 also modifies the preview language features introduced in Java 14: Records and Pattern Matching for instanceof. There is enhancements in the interfaces and enums that we are used to working with. in Java 15, Text Blocks that introduced in JDK 13, are being added to as a standard language feature.
Blogs in this series:
Java 15 New Features15 September 2020 saw the release of JDK 15. This article will summarize several JEP released in JDK 15, with some examples to show case those features.
Tutorials in this series:
Java 15 - Sealed Classes Preview Feature (JEP 360)Sealed classes and interface is a Java 15 preview feature which allows a class or interface to control what subclasses can implement or extend it.
Java 11 Features and ChangesIn this series we will look at the features and changes in Java 11, and how it's benefit or affecting us as Java Developer.