A Day in the Life of Java Code in JVM

Today we will talk about Java Memory Management with the example. We will look at the…

Get Ready to Deep Dive in Java Memory Management: Structure of JVM Memory

Memory management is the process of allocation and de-allocation of objects from memory, it's done automatically…

Most Loved Interview Question: How HashMap Works in Java

An interview cant be complete without this question. HashMap working contains most of the concept we…

Reduce NullPointerExceptions with Optional in Java 8 & Beyond

"Billion Dollar Mistake?". NullPointerException is the most common and frequently appeared error compared to others, especially…

A Quick Glance at Sorting Algorithms Code in Java

All the Sorting Algorithms code in one single page. Get a quick glance in sorting code…

Create Your Own Instant Messaging Chat Application With Spring

Create a chat application with spring web-socket. A very simple and basic group instant messaging chat…

The Interface of Java and the Many Faces of It

Interface is an integral part of java and has become so powerful over the years, that…

Stream API: The Hero Without a Cape

An unsung hero of the Java world, the Stream API which was added to Java 8…

Recycle the Threads and Save the Resources with Thread Pool

Our computer resources are limited. So, why not reuse them and save efficiency? Reuse the thread,…