Java LinkedHashMap Tutorial

Java LinkedHashMap is a hash table and doubly linked List based implementation of Java’s Map interface. It extends the HashMap class which is another very commonly used implementation of the Map interface The HashMap class doesn’t guarantee any…

Continue Reading

Stack in Java

A Stack is a Last In First Out (LIFO) data structure. It supports two basic operations called push and pop. The push operation adds an element at the top of the stack, and the pop operation…

Continue Reading

Java 8 and Stream

Java 8 and streams: A match made in heaven, but it can be a little overwhelming. In this post, we take an in-depth look at this combination with some examples.…

Continue Reading

ArrayList in Java

ArrayList is a part of collection framework and is present in java.util package. It provides us dynamic arrays in Java. Though, it may be slower than standard arrays but can be helpful…

Continue Reading

Java 101: Interfaces in Java

Java interfaces are different from classes, and it's important to know how to use their special properties in your Java programs. This tutorial introduces the difference between classes and interfaces,…

Continue Reading