Tagged articles
11 articles
Page 1 of 1
Selected Java Interview Questions
Selected Java Interview Questions
Oct 8, 2022 · Backend Development

Improved NullPointerException Handling in Java 14 (JEP 358)

The article explains how Java 14 introduces enhanced NullPointerException messages via JEP 358, showing traditional NPE problems, the new detailed exception output, required JVM flags, performance considerations, and potential security implications, with code examples illustrating the improvements.

Exception HandlingJEP 358java14
0 likes · 7 min read
Improved NullPointerException Handling in Java 14 (JEP 358)
Programmer DD
Programmer DD
May 6, 2022 · Backend Development

Simplify Java Conditional Logic with Switch Expressions in Java 14

This article shows how to replace verbose if‑else chains with classic switch statements and then demonstrates Java 14's enhanced switch expression using arrow syntax, eliminating the need for break statements and making the code more concise and readable.

Conditionaljava14programming
0 likes · 4 min read
Simplify Java Conditional Logic with Switch Expressions in Java 14
Top Architect
Top Architect
Sep 19, 2021 · Fundamentals

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

This article provides a concise walkthrough of the most important Java 9‑16 language enhancements—including private methods in interfaces, diamond support for anonymous classes, enhanced try‑with‑resources, var type inference, switch expressions, text blocks, records, improved NullPointerException messages, foreign‑memory APIs, sealed classes and new garbage collectors—illustrated with clear code examples.

JDKJava15New Features
0 likes · 11 min read
Key New Features in Java 9–16: Private Interface Methods, Var, Switch Expressions, Records and More
Programmer DD
Programmer DD
Apr 20, 2020 · Backend Development

How Java 14’s Enhanced NullPointerException Simplifies Debugging

Java 14’s enhanced NullPointerException, introduced via JEP 358, provides detailed messages that pinpoint the exact null variable in a stack trace, dramatically simplifying debugging of chained calls and reducing time spent hunting down elusive bugs.

JEP 358javajava14
0 likes · 6 min read
How Java 14’s Enhanced NullPointerException Simplifies Debugging
Senior Brother's Insights
Senior Brother's Insights
Mar 23, 2020 · Backend Development

Explore Java 14: New Language Features and How to Use Them

This article introduces the JDK 14 release, lists its sixteen new features—including pattern‑matching instanceof, switch expressions, record types, and text blocks—explains required IDE support, and provides concrete code examples and usage guidelines for each feature.

New FeaturesText Blocksjava14
0 likes · 8 min read
Explore Java 14: New Language Features and How to Use Them
Architect's Tech Stack
Architect's Tech Stack
Feb 23, 2020 · Fundamentals

Top 5 New Features Expected in Java 14

This article outlines the five major preview features slated for Java 14, including instanceof pattern matching, text blocks with new escape sequences, record types, the incubating jpackage tool, and the deprecation of the ParallelScavenge + SerialOld garbage collector combination.

Garbage CollectionText Blocksjava14
0 likes · 9 min read
Top 5 New Features Expected in Java 14
ITPUB
ITPUB
Dec 6, 2019 · Fundamentals

What Are the Top 5 Java 14 Features You Should Know?

This article reviews the five most anticipated Java 14 enhancements—including instanceof pattern matching, preview text blocks, record types, the jpackage tool, and the deprecation of the ParallelScavenge + SerialOld garbage‑collector combo—explaining their purpose, usage, and impact on developers.

GarbageCollectionPatternMatchingTextBlocks
0 likes · 8 min read
What Are the Top 5 Java 14 Features You Should Know?