News

Remove duplicates with Java’s Stream API The fastest and most efficient way to remove items from a List in Java is to use the distinct method of the Stream API. The following code snippet starts with ...
The biggest language change packaged with the Java 10 release, aka JDK 18.3, was the introduction of the inferred type. This addition, combined with the ability to use the long reserved Java ‘var’ ...
New features like var, auto-compile, text blocks, record classes, and more are shifting Java in subtle but powerful ways—toward a more flexible, dynamic future.