Java 14

Java 14 – New Features and Improvements

Last Updated:

Java 14 reached general availability on 17 March 2020. In this post, we will go through some features from the list of 16 new features …

Java – Pattern Matching for instanceof

Last Updated:

Learn what pattern matching for instanceof is and how to use it since Java 14 (JEP 305). This is a preview language feature in JDK …

Java 14 – record type

Last Updated:

Learn about record type in java. It is introduced as preview feature in Java 14 and shall be used as plain immutable data classes for …

Java – Text blocks and best practices

Last Updated:

In Java, a text block is a multi-line string literal. It means we do not need to get into mess of explicit line terminators, string …

Java 14 – Helpful NullPointerException (NPE)

Last Updated:

Java 14 (JEP 358) improves the usability of NullPointerException generated by the JVM by describing precisely which variable was null. Lets understand this in detail. …

Java 14 – switch expression

Last Updated:

A switch statement allows the application to have multiple possible execution paths based on the value of a given expression in runtime. The evaluated expression …


A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.