skip to content

the contents

18 parts, 192 chapters, in the order they build on each other. the covers get darker as the book goes further down.

  1. 01, 6 chapters

    start here

    what java even is, a JDK on your machine, and your first program running.

  2. 02, 14 chapters

    the basics

    variables, types, control flow, methods, and the stack/heap mental model everything else sits on.

  3. 03, 13 chapters

    objects and classes

    classes, constructors, inheritance, polymorphism, interfaces, and the contracts every object signs.

  4. 04, 11 chapters

    core apis and exceptions

    the standard library you use every day, and how errors move through a program.

  5. 05, 7 chapters

    generics

    type parameters, wildcards, erasure. how java gets type safety without changing the JVM.

  6. 06, 12 chapters

    collections

    lists, sets, maps, queues. what each one actually is in memory, and which to pick.

  7. 07, 10 chapters

    lambdas and streams

    functions as values, and pipelines that process data lazily, one element at a time.

  8. 08, 10 chapters

    modern java

    records, sealed types, pattern matching. java from 8 to 27 and how it writes now.

  9. 09, 16 chapters

    concurrency

    threads, races, locks, the memory model, executors and virtual threads.

  10. 10, 10 chapters

    i/o, networking and data

    bytes in, bytes out. files, buffers, sockets, http, databases and crypto.

  11. 11, 8 chapters

    reflection and metaprogramming

    code that looks at code. reflection, annotations, proxies, method handles, invokedynamic.

  12. 12, 10 chapters

    tools and ecosystem

    the JDK's own tools, modules, build tools, testing, and the libraries everyone uses.

  13. 13, 12 chapters

    inside the JVM

    class files, bytecode, class loaders, the interpreter and the JIT. how your code actually runs.

  14. 14, 13 chapters

    memory and garbage collection

    allocation, reachability, and every collector from Serial to generational ZGC.

  15. 15, 9 chapters

    performance and native

    measuring honestly, profiling, flame graphs, the CPU underneath, and calling C.

  16. 16, 11 chapters

    effective java, visualized

    a companion to Bloch's 90 items: the idea, the bad version, the good version, and what changed since.

  17. 17, 14 chapters

    deep dives

    the interview-grade internals. source-level, bit-level, no hand-waving.

  18. 18, 6 chapters

    where java is going

    valhalla, leyden, amber, loom, panama. what's landing next and why it matters.