09 Jun 2024

JDK 23: The new features in Java 23

Java 23, due in September, will include previews of module import declarations, stream gatherers, structured concurrency, and scoped values.

25 Mar 2024

Unnamed Variables & Patterns in Java 22 with practical example

The release of Java 22 SE introduces an exciting feature: Unnamed Variables and Patterns (JEP 456). Unnamed variables and unnamed patterns, which can be used when variable declarations or nested patte...

14 May 2024

Mastering Method References in Java 8 : A Comprehensive Guide

Java 8 introduced several powerful features to the language, including lambda expressions and the Stream API, which significantly enhanced the way developers write code. Among these features, method r...

14 May 2024

Exploring Interface Default and Static Methods in Java 8

Java 8 introduced several new features and enhancements to the language, one of the most significant being the addition of default and static methods in interfaces. These features were introduced prim...

09 Feb 2024

Exploring Java 21 Features Through Practical Examples

This article provides a comprehensive overview of the new features introduced in JDK 21, as specified by JSR 396 in the Java Community Process. From language improvements to performance optimizations,...