Core Java
-
Guidelines for Java code review
Having another pair of eyes scan your code is always useful. It’s helped me get better at writing cleaner code…
Read More » -
Introduction into GraalVM (Community Edition): And How the Future Looks Like?
1. Introduction In this last part of the tutorial we are going to speculate about the future of GraalVM, both…
Read More » -
Java Program to Add Two Numbers Without Using + operator
1. Introduction In this article, You will learn how to write a java program to add two numbers without using…
Read More » -
How To Make A File Read Only Or Writable In Java?
A quick guide on how to make a file read only in java using setReadOnly() method from File API. 1.…
Read More » -
Chasing Java’s release train, from 8 to 16. Part 1: JDK 9, the last big banger
A lot has been said about JDK’s new 6 months release cadence cycle, and arguably, this is one of the…
Read More » -
Java – How to Delete Files and Folders?
A quick guide to delete the files and folders in java with example programs. 1. Overview In this tutorial, We…
Read More » -
Project reactor and Caching with Caffeine
So you have a function which takes a key and returns a project reactor Mono type. 1 2 3 4…
Read More » -
Implementing equals(Object) with instanceof Pattern Matching
Pattern matching for the instanceof operator was introduced as a preview feature with JDK 14 and was finalized with JDK…
Read More » -
Different ways of declaration and initialization of arrays in Java
The below code shows the different ways one can declare and initialize an Array in Java: 01 02 03 04…
Read More »