Languages & Runtimes
Java & the JVM
Modern Java end to end: the language and OOP model, collections and generics, exceptions, streams and lambdas — and deep dives into how the JVM loads, verifies, JIT-compiles and garbage-collects your code, plus the Java Memory Model and concurrency, including virtual threads.
3 modules 14 lessons ~1 h of reading
Start learning
0/14 completed
01
The Language
7 lessons- 1Java BasicsHow Java code is structured and run — the JDK, compiling and running, primitive vs reference types, strings, arrays, control flow, methods, packages, and the gotchas that trip up newcomers.beginner3 min
- 2OOP in JavaClasses, constructors, static vs instance members, inheritance, abstract classes, interfaces with default methods, records, enums, sealed types, nested classes, and the equals/hashCode contract.beginner3 min
- 3Java Collections FrameworkList, Set, Queue, Deque and Map — the main implementations, their complexities and internals (ArrayList growth, HashMap buckets and treeification, TreeMap), iteration, immutability, and choosing the right one.intermediate5 min
- 4GenericsType parameters for classes and methods, bounded types, wildcards and the PECS rule, type erasure and its consequences, and generic design tips.intermediate3 min
- 5ExceptionsThe Throwable hierarchy, checked vs unchecked exceptions, try/catch/finally, try-with-resources, custom exceptions, chaining, and best practices for error handling in Java.beginner3 min
- 6Streams & LambdasFunctional programming in Java — lambdas, functional interfaces, method references, the Stream API (map, filter, reduce, collect, groupingBy), laziness, parallel streams, and Optional.intermediate3 min
- 7Modern Java (11 → 25)The features that changed how Java is written since Java 8 — var, switch expressions, text blocks, records, sealed types, pattern matching, virtual threads, sequenced collections and more, release by release.intermediate2 min
02
The JVM
4 lessons- 8JVM ArchitectureInside the Java Virtual Machine — class loader subsystem, runtime data areas (heap, stacks, metaspace), the execution engine (interpreter, JIT, GC), bytecode and the stack machine, and JVM implementations.intermediate4 min
- 9Class LoadingHow the JVM finds and prepares classes — loading, linking (verification, preparation, resolution) and initialisation; the class loader hierarchy and parent delegation; custom loaders; and common ClassNotFound/NoClassDefFound problems.advanced5 min
- 10JVM Memory & Garbage CollectionHow the JVM allocates objects, reachability and GC roots, generational collection, mark-sweep-compact, the collectors (Serial, Parallel, G1, ZGC, Shenandoah), tuning, memory leaks, and reading GC logs.advanced6 min
- 11JIT CompilationHow HotSpot turns bytecode into fast machine code — tiered compilation (C1/C2), profiling, inlining, escape analysis, devirtualisation, loop optimisations, deoptimisation, warm-up, and benchmarking with JMH.advanced5 min
03
Concurrency
3 lessons- 12Java ConcurrencyThreads, synchronized and locks, wait/notify, executors and thread pools, Future and CompletableFuture, atomics, concurrent collections, synchronizers (CountDownLatch, Semaphore), and common bugs.advanced4 min
- 13The Java Memory ModelWhy threads can see stale or reordered values, the happens-before relation, volatile, synchronized, final-field semantics, safe publication, double-checked locking, and data races.advanced6 min
- 14Virtual ThreadsProject Loom's lightweight threads in Java 21 — how they're scheduled on carrier threads, continuations and stack copying, pinning, when they help, structured concurrency, scoped values, and migration advice.advanced4 min