The “Collections” framework in Java came into action with the release of JDK 1.2 and was expanded quite a few times in Java 1.4 and Java 5 and then again in Java 6.
Continue readinglinkedlist
Java LinkedList Example
LinkedList class in Java uses a doubly linked list to store elements and it also provides a linked-list data structure. It implements List, just like ArrayList class, and Deque interfaces. Just like arrays, Linked List is a linear data structure but unlike arrays, the elements in the linked list are linked together using pointers. There…
Continue readingDifference Between ArrayList and LinkedList in Java
This article explains the differences between ArrayList and LinkedList and in which case we should prefer the one over the other.
Continue reading