Core Java
-

Switch as an expression in Java with Lambda-like syntax
As of Java 14, the switch expression has an additional Lambda-like (case ... -> labels) syntax and it can be…
Read More » -

All you wanted to know about Throwable
This article is a tutorial about exceptions. But not the usual one. There are many of those that tell you…
Read More » -

Record type in Java
JDK 14, released in March 2020, introduced records (preview language feature) which provide a compact syntax for declaring classes whose…
Read More » -

10 Best Practices to Handle Java Exceptions
In this article, we will see the best practices to handle Java Exceptions. Exception handling in Java is not an…
Read More » -

Looking at Java Records
JEP 359, available as preview feature in JDK 14, introduces records to Java. Records are an easy way to model…
Read More » -

Java puzzlers from OCA part 7
In this part of the Java Puzzlers from OCA series, I will show multiple ways of defining Strings and potential…
Read More » -

A Java XMPP Load Test Tool
In this article, we will develop an XMPP Load Test Tool written in Java. Table Of Contents 1. Introduction 2.…
Read More » -

How to convert Array to List in Java
Hello Friends, In this tutorial, we will learn, various ways in which we can convert an array to a List.…
Read More » -

Java puzzlers from OCA part 6
Even for new Java developers, constructors are probably no big mystery. In essence, when you create an instance of a…
Read More »
