Core Java
-
Memento Pattern
Without violating encapsulation, capture and externalize an object’s internal state so that the object can be restored to this state…
Read More » -
Inline array definition in Java
There are occasion when it is more convenient to create an array inline. Here are several way to declare and…
Read More » -
Java Based Akka application Part 1: Your base Project
Akka is a free, open-source toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM.…
Read More » -
Start a Java app without installing it
This article describes how you can use JShell to download and execute a Java application. It will eliminate the need…
Read More » -
Java 15: Sealed Classes
Java 15 introduces Sealed Classes, a preview language feature, that allows classes/interfaces to restrict which other classes/interfaces may extend or…
Read More » -
Locking for multiple nodes the easy way: GCS
It happens to all of us. We develop stateless applications that can scale horizontally without any effort.However sometimes cases arise…
Read More » -
Java String to String Array Conversion Examples
A quick and practical guide on how to convert String to String Array in differnet ways in java. 1. Overview…
Read More » -
Java Program To Get Union Of Two Arrays
A quick and programming guide to how to get the union of two unsorted arrays in java with example programs.…
Read More » -
Java Program to Calculate Average Using Arrays
A quick and practical guide to find and to calculate the average of numbers in array using java language. 1.…
Read More »