Java Lesson 6: Collections β List and Map
Store groups of objects with ArrayList and HashMap/TreeMap, loop over them, merge totals by key, and use streams for sums.
Read article βExcel, SAP, Oracle & automation tips β plus wacky facts
Java basics and working with files and spreadsheets.
Java basics and working with files and spreadsheets.
π 10 articlesβ¬οΈ 10 with practice filesπ Updated 12 Oct 2026
π Start here: Rust Course β π Start here: Java Course β π Start here: R Course βStore groups of objects with ArrayList and HashMap/TreeMap, loop over them, merge totals by key, and use streams for sums.
Read article βJava Streams let you process lists in a clear, declarative style. Learn filter, map, sorted, collect and groupingBy with a small sales example.
Read article βBring it together: an Invoice class with validated lines, GST calculation, item summaries with a Map and formatted output, plus next steps (Maven, Apacheβ¦
Read article βHandle errors with try/catch/finally, throw meaningful exceptions, and read and write text files with java.nio.file.Files.
Read article βModel real things with classes: fields, constructors, methods, private data with public methods, and records for simple data.
Read article βWrite static methods with parameters and return types, overloading, and keeping methods small and testable.
Read article βUse if/else, switch expressions, comparison and logical operators, for, enhanced for and while loops in Java.
Read article βJavaβs static types: int, double, boolean, char and String, declaring variables, var, arithmetic and integer division, casting and printf formatting.
Read article βInstall a JDK (Temurin or Oracle), check java -version, write and run Hello.java from the terminal and in VS Code or IntelliJ IDEA.
Read article βA beginner-friendly guide to reading and writing .xlsx files in Java using Apache POI β with complete, working examples and common pitfalls.
Read article βBones are stronger than steel of the same weight.
Weight for weight, bone is remarkably strong, especially under compression, because of its mix of collagen and mineral.