Author: Irfan Khan

Java

TreeMap in Java | Usage with Coding Examples

How to Create TreeMap in Java? Advantages and when to use TreeMap in Java? Java TreeMap class Methods. Adding, Removing, and Finding TreeMap Elements.

Java

LinkedHashMap in Java | Code, Examples, Advantages (Complete Guide)

What is LinkedHashMap in Java? Removing and Traversing elements explained with coding examples. Iterating in reverse order. Removing the oldest entry. Advantages of LinkedHashMap in Java…

Java

Default Methods in Java 8 Interface | Code Examples Explained

What is Default Method in Java Interface? Abstract Class vs Interface in Java 8. Built-in Interfaces with default Methods…

Java

Functional Interface in Java 8 | Code Examples Explained

What is Functional Interface in Java? List of functional interfaces in Java 8 explained with coding examples.

Java

Java TreeSet Class | Complete Tutorial | Explained with Coding Examples

Create, remove and add elements to Java TreeSet Class. TreeSet methods explained with Coding Examples. Difference between HashSet and TreeSet.

Java

LinkedHashSet in Java with Code and Examples

Creating LinkedHashSet in Java, Adding, Removing, Traversing, Searching Elements in LinkedHashSet, LinkedHashSet Spliterator, Methods for Set Operations…

Java

Java Array | Declaration, Initialization, Example Code

Java Array | Introduction, Declaration and Initialization explained with coding example. Advantages and disadvantages of Java array.

Linked List

Linked List in Java | Explained with Coding Example

Linked List in Java | Create, add and remove element in Java code. Explained with program and coding examples.