LinkedList in Java
Explore Java's doubly-linked list: insertion and removal performance, when LinkedList beats ArrayList, and memory trade-offs.
Explore Java's doubly-linked list: insertion and removal performance, when LinkedList beats ArrayList, and memory trade-offs.
Learn how to read and write Java methods — access modifiers, return types, parameters, and the method body that holds the logic.
Multiple methods, same name — how Java resolves overloaded methods based on parameter types, counts, and order.
Master Java method parameters — pass-by-value semantics, varargs, and how to return single or multiple values cleanly.
ClassName::method or instance::method — shorthand notation for lambdas that call an existing named method directly.
Explore Java's multidimensional arrays: 2D and 3D arrays, ragged arrays, matrix representations, and memory layout.
Master toString, equals, hashCode, and getClass — the methods every Java object inherits from Object.
Understand runtime method dispatch, upcasting, downcasting, and instanceof pattern matching for flexible Java code.
Master Java's 8 primitive types: int, double, boolean, char, float, long, short, byte — the fundamental building blocks of data in Java.
Master Java queues: FIFO ordering, Deque for double-ended operations, PriorityQueue for heap-based ordering, and when to use each.