Interview Question: IS-A & HAS-A Relationship

Hey, Tea Lovers! Today let’s look at the most asked interview question, IS-A & HAS-A relationship. Both…

Interview Question: Comparable vs Comparator

most asked interview question, Comparable vs Comparator. Both beginners and experienced persons get this question in…

How to use groupingBy Collector in Java Streams

groupingBy is similar to GROUP BY of SQL since it groups and collects the objects based…

Iterating over List: Basic to Advance to Stream API

how you can iterate over a List, be it ArrayList, LinkedList or any other. Basic loop…

The Things I Love and Use from Java 11

Java 11 with Improved productivity and less repetition. No need of external libraries for small things.…

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…