Search results
Jan 16, 2024 · In this tutorial, we’ll talk about the news related to the new version of the Java ecosystem, Java SE 17, including the new features and the changes in its release process, LTS support and licenses.
- Restore Always-Strict Floating-Point Semantics. This JEP is targeted toward scientific calculations that involve floating-point numbers. To guarantee the same calculation result on all platforms, we have been using the keyword strictfp.
- Pattern Matching for Switch (Preview) This change adds pattern matching for switch statements and expressions. Since this is a preview feature, we need to use ‘–enable-preview‘ option to enable it.
- Sealed Classes. In Java, by default, there has been no restriction on a class which public interfaces it can implement. From Java 15, we can declare a class or interface sealed class or sealed interface using the modifier ‘sealed‘.
- Enhanced Pseudo-Random Number Generators. 2.4.1. RandomGenerator. This JEP introduced a new interface called RandomGenerator which aims to make future pseudorandom number generator (PRNG) algorithms easier to implement or use.
Jan 13, 2023 · Java 17 LTS is the latest long-term support release for the Java SE platform. JDK 17 binaries are free to use in production and free to redistribute, at no cost, under the Oracle No-Fee Terms and Conditions License, where LTS stands for long-term support. It was released on September 15, 2021.
Jul 2, 2023 · Java 10: Introduced features like local variable type inference (var keyword) and the experimental garbage collector (Epsilon), enhancing code conciseness and providing performance testing ...
Jan 21, 2024 · Learn the new features in Java 21 LTS, including Virtual Threads, Unnamed classes, Sequenced Collections, Scoped Values, and Record Patterns.
Dec 21, 2023 · Java 17 new features: Explore Sealed Classes, Pattern Matching, Enhanced Random Generators, Vector API, & much more.
People also ask
What's new in Java SE 17?
Why should developers explore the differences between Java versions?
When will Java 17 be released?
Is Java 7 a long-term support version?
What are Java 17 new features?
How often do Java versions come out?
Apr 19, 2024 · Java 22 Features. Java 22 has been released on March 19, 2024. You can download Java 22 here. The following features are gone into the second preview. Structured Concurrency. Scoped Values. String Templates.