JEP Draft: Switch Expressions for the Java Language

Add switch expressions to the Java Programming Language, and improve the handling of null values in switch statements. These will simplify everyday coding, as well as prepare the way for the use of pattern matching in switch. Read more

Similar

Measuring Time: From Java to Kernel and Back

Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: throug... (more…)

Read more »