Tagged articles
11 articles
Page 1 of 1
JavaGuide
JavaGuide
Oct 16, 2025 · Backend Development

Why Upgrading from Java 8 to Java 21 Boosts Development Efficiency

The article walks through the evolution from Java 8 to Java 21, comparing preview and standard features such as pattern‑matching instanceof, switch expressions, text blocks, the new HttpClient API, var type inference, virtual threads, records, immutable collections, improved try‑with‑resources, sequenced collections, and garbage‑collector enhancements, illustrating each with concrete code examples and practical recommendations.

JavaJava 21Record
0 likes · 16 min read
Why Upgrading from Java 8 to Java 21 Boosts Development Efficiency
Architecture Digest
Architecture Digest
Sep 29, 2025 · Fundamentals

Unlock Java’s New Power: 10 JDK 17 Features That Transform Your Code

This article explores the most impactful JDK 17 enhancements—including records, sealed classes, pattern matching, text blocks, improved switch expressions, var type inference, and advanced Stream API features—showing how they simplify Java code, boost readability, and increase performance for developers transitioning from older versions.

JDK 17JavaSealed Classes
0 likes · 14 min read
Unlock Java’s New Power: 10 JDK 17 Features That Transform Your Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 30, 2024 · Fundamentals

Unlock Java 17: Master New JVM and Language Features with Real Code Examples

This article introduces the key enhancements in JDK 17—including improved NullPointerException messages, Metaspace reclamation, new garbage collectors, and language upgrades such as pattern‑matching instanceof, records, sealed classes, switch expressions, and text blocks—accompanied by practical code demonstrations.

JDK 17Sealed ClassesSwitch Expressions
0 likes · 10 min read
Unlock Java 17: Master New JVM and Language Features with Real Code Examples
Top Architect
Top Architect
Aug 15, 2021 · Fundamentals

Key New Features in Java 9–16: Private Interface Methods, var, Switch Expressions, Records, Sealed Classes and More

This article reviews the most important Java language enhancements from version 9 through 16, covering private interface methods, diamond operators for anonymous classes, var type inference, improved try‑with‑resources, switch expressions, text blocks, records, refined NullPointerException messages, foreign memory access, sealed classes, and the new jpackage tool.

Java versionsSealed ClassesSwitch Expressions
0 likes · 12 min read
Key New Features in Java 9–16: Private Interface Methods, var, Switch Expressions, Records, Sealed Classes and More
Java High-Performance Architecture
Java High-Performance Architecture
Nov 6, 2020 · Fundamentals

Java 14 Made Easy: Records, Pattern Matching, Switch Expressions & Clear NPEs

This article explains how Java 14 introduces Records to reduce boilerplate class definitions, Pattern Matching to streamline instanceof checks, Switch expressions to treat switch as a value-producing construct, and enhanced NullPointerException messages that pinpoint the exact null source, making code clearer and more concise.

Java 14Switch Expressionsnullpointerexception
0 likes · 5 min read
Java 14 Made Easy: Records, Pattern Matching, Switch Expressions & Clear NPEs
Java Backend Technology
Java Backend Technology
Mar 26, 2020 · Fundamentals

Java 14 New Features: Pattern Matching, Records, Switch Expressions & Text Blocks

Java 14 introduces several language enhancements—including preview pattern‑matching for instanceof, concise record types, switch expressions with arrow syntax, and multi‑line text blocks—each demonstrated with code examples, setup steps, and compiled bytecode insights to help developers quickly adopt these productivity‑boosting features.

JavaJava 14Switch Expressions
0 likes · 10 min read
Java 14 New Features: Pattern Matching, Records, Switch Expressions & Text Blocks
Programmer DD
Programmer DD
Oct 23, 2019 · Backend Development

Java 13 & 14 Highlights: Text Blocks, Better NPEs, and Switch Expressions

Java 13 introduced five new features, with Text Blocks gaining the most attention, while the upcoming Java 14 Early‑Access preview highlights three potential enhancements: improved NullPointerExceptions, a new non‑volatile memory mapped byte buffer mode, and the stabilization of Switch Expressions with pattern‑matching syntax.

JDKJavaSwitch Expressions
0 likes · 5 min read
Java 13 & 14 Highlights: Text Blocks, Better NPEs, and Switch Expressions
Java Captain
Java Captain
Oct 4, 2019 · Fundamentals

JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals

This article summarizes the major JDK 11‑13 updates, including switch expression simplifications, multi‑line text block literals, dynamic AppCDS archives, ZGC memory‑release enhancements, a modernized socket API, new FileSystems methods, bulk NIO ByteBuffer operations, the Reiwa era in java.time, Unicode 12.1 support, and several deprecated features that have been removed.

Core LibraryJDKJava
0 likes · 10 min read
JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals