For Loops in Java
Master Java for loops: traditional for loops, enhanced for-each syntax, when to use each variant, and common iteration patterns with performance considerations.
Master Java for loops: traditional for loops, enhanced for-each syntax, when to use each variant, and common iteration patterns with performance considerations.
Learn Java generic classes with Box and Pair examples, raw types, reflection metadata, and the limits of runtime type checks.
Learn Java generic methods with examples for type inference, explicit type witnesses, bounded parameters, and safe generic varargs.
Learn how Java HashMap handles keys, collisions, resizing, and iteration, with expected performance, concurrency limits, and JDK-specific internals.
Learn how Java HashSet stores unique elements, how equals and hashCode define duplicates, and what to expect from membership costs and iteration.
Learn Java if-else branching logic: conditional statements, else-if chains, nested conditionals, and operator precedence considerations for decision making.
Master Java inheritance: extends keyword, super, method overriding, and substitutability, with practical guidance for reliable class hierarchies.
Learn Java interfaces: contracts, default and static methods, functional interfaces, private helpers, and how classes can implement multiple types.
Read, write, and navigate files with java.io and java.nio.file: Path, Files, BufferedReader, BufferedWriter, and directory walking.
Choose Java iteration styles, compare removal options, understand fail-fast limits, and measure ArrayList and LinkedList traversal with JMH.