Collections & Generics
Java ArrayList Tutorial: A Complete Beginner’s Guide
Create, fill, loop over, sort, search and safely modify an ArrayList, plus how it works inside and when to choose another collection.
Create, fill, loop over, sort, search and safely modify an ArrayList, plus how it works inside and when to choose another collection.
Store and look up data by key with HashMap. Learn put, get, getOrDefault, merge and iteration, then see how hashing, buckets and equals/hashCode work inside.
Learn the Java Stream API step by step, covering filter, map, sorted, reduce, collect, groupingBy and Optional, with a realistic example and the pitfalls to avoid.