Collections Framework Tutorials
Learn about Java Collections including ArrayList, HashMap, HashSet, and other data structures.
Arrays in Java - Single & Multidimensional
Learn about Java arrays. How to declare, instantiate, and initialize arrays. Single and multidimensional arrays explained.
Multidimensional Arrays
Learn about multidimensional arrays in Java with examples and best practices.
Array Methods
Learn about array methods in Java with examples and best practices.
ArrayList in Java - Dynamic Arrays
Complete guide to ArrayList in Java. Learn how to add, remove, and access elements in a resizable array.
LinkedList in Java - Doubly Linked List
Understand LinkedList in Java. Differences between ArrayList and LinkedList and when to use which.
HashMap in Java - Key-Value Pairs
Learn about HashMap in Java. How to store items in "key/value" pairs and access them.
HashSet in Java - Unique Elements
Understand HashSet in Java. A collection of items where every item is unique.
Stack In Java
Learn about stack in java in Java with examples and best practices.
Queue In Java
Learn about queue in java in Java with examples and best practices.
Treemap In Java
Learn about treemap in java in Java with examples and best practices.
Explore Other Categories
Practice What You Learn
Try out the code examples in our free online Java compiler.
Open Java Compiler