HashSet in Java
Learn how Java HashSet stores unique elements, how equals and hashCode define duplicates, and what to expect from membership costs and iteration.
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.
Learn Java lambda syntax, variable capture, this binding, checked exceptions, and functional interfaces, with examples for streams and concurrency.
Learn LinkedList end operations and indexed traversal costs, plus when ArrayDeque is a better starting point for Java queues and stacks.
Learn how to read and write Java methods — access modifiers, return types, parameters, and the method body that holds the logic.
Learn Java method overloading through the JLS applicability phases, with examples of widening, boxing, null arguments, varargs, and ambiguous calls.