Interfaces in Java
Learn Java interfaces: contracts, default and static methods, functional interfaces, private helpers, and how classes can implement multiple types.
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.
Master Java method parameters — pass-by-value semantics, varargs, and how to return single or multiple values cleanly, with practical examples.
Learn Java method references with static, bound, unbound, and constructor examples, plus overload ambiguity and equivalent lambdas.
Explore Java multidimensional arrays, including 2D, 3D, and ragged arrays, safe traversal, and how to measure their performance.