News

Java 24 adds several new features to the language, such as the availability of the Stream Gatherers API and Class-File API, ...
Java 24 arrived today in a production release, packed with two dozen features. It’s a short-term support release eligible for six months of premier support.
Sealed classes in Java let developers limit the creation and use of subclasses and preserve the class hierarchy. Here is how sealed classes in Java work.
First class money & currency support in Java are almost here. JSR 354 spec lead Credit Suisse's Anatole Tresch discusses previous shortcomings, motivation for the new APIs, & lots of examples.
A preview feature in Java is one that is not yet added permanently even though its design, specification, and implementation are complete. Presently Java has quite a few preview features in the ...
The functional consumer interface is a key part of the Java Streams API. Here is a simple Consumer interface example to show you how to use this Java component.
Java 22 arrives with previews of scoped values, structured concurrency, stream gatherers, and the ability to execute multi-file programs.