Course chapters Explore all 20 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.
Find a chapter No matching chapters. Try another term.
01 · Language foundations 4 chapters ⌄ Follow source code, compilation, bytecode, and the Java runtime.
Distinguish source code, bytecode, and the JVM Practice: Compile and run a small class and inspect a compile error.
Read the primary reference Expanded reading · Ready Choose types and identify conversions that can lose information Practice: Represent counts, prices, and flags with suitable types.
Read the primary reference Lesson guide · Ready Trace branches, loops, parameters, and return values Practice: Implement a grade classifier with threshold tests.
Read the primary reference Lesson guide · Ready Distinguish array indexing and immutable String values Practice: Count vowels while handling an empty input.
Read the primary reference Lesson guide · Ready 02 · Object-oriented Java 4 chapters ⌄ Model a small Java object around responsibilities and invariants.
Initialize valid object state through a constructor Practice: Model a library item with a title and available-copy count.
Read the primary reference Expanded reading · Ready Keep invariants inside the object that owns its state Practice: Reject an invalid booking capacity through a public method.
Read the primary reference Lesson guide · Ready Program against a contract with multiple implementations Practice: Create two notification senders behind one interface.
Read the primary reference Lesson guide · Ready Evaluate reuse through delegation before extending a class Practice: Refactor a report object to receive a formatter dependency.
Read the primary reference Lesson guide · Ready 03 · Collections and generics 2 chapters ⌄ Select a collection according to duplicates, order, and key lookup Practice: Implement a word-frequency map.
Read the primary reference Lesson guide · Ready Explain type parameters and avoid unchecked raw collections Practice: Write a typed repository of simple records.
Read the primary reference Lesson guide · Ready 04 · Resources and functional processing 2 chapters ⌄ Distinguish expected failures and use try-with-resources Practice: Read a file and report a missing resource clearly.
Read the primary reference Lesson guide · Ready Read a stream pipeline and compare it with a loop Practice: Filter and group a small collection without side effects.
Read the primary reference Lesson guide · Ready 05 · Building applications 4 chapters ⌄ Organize code into coherent packages with clear dependencies Practice: Separate model, service, and command-line entry code.
Read the primary reference Lesson guide · Ready Design deterministic tests around behavior and edge cases Practice: Test a price calculation and fix a reproduced failure.
Read the primary reference Lesson guide · Ready Distinguish shared state, tasks, and synchronization needs Practice: Explain a counter race and compare safe alternatives.
Read the primary reference Lesson guide · Ready Combine classes, collections, persistence, and tests Practice: Create a small library tracker with a documented input format.
Read the primary reference Lesson guide · Ready 06 · Working with application boundaries 3 chapters ⌄ Describe value-oriented data carriers and the limits of shallow immutability Practice: Model a small event with a record and document mutable component risks.
Read the primary reference Lesson guide · Ready Separate parameterized SQL, connection lifetime, and transaction boundaries Practice: Outline a transactional update using prepared statements.
Read the primary reference Lesson guide · Ready Distinguish heap use, garbage collection, threads, and application latency Practice: Investigate a fictional memory-growth incident using a measurement plan.
Read the primary reference Lesson guide · Ready 07 · Further foundations and worked reasoning 1 chapter ⌄ Compare ordered entries, uniqueness, and key-based lookup before choosing an implementation.
Choose collection behavior by ordering, equality, mutability, and operation needs Practice: Compare a list, set, and map using duplicate records and mutable keys.
Read the primary reference Expanded reading · Ready Learn it. Check it. Try again. 14 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.
Open Java foundations practice In-depth study guide Follow the subject from its foundations through worked examples and practice. Each guide includes its scope, version assumptions, solutions, and sources for further study.
OpenLearning study guide Edition 2026.12
Java: From Source Code to Reliable Applications An original in-depth guide to Java execution, values, control flow, methods, collections, objects, interfaces, equality, generics, errors, streams, testing, concurrency, and a command-line project.
pages 94
chapters 16
diagrams 12
exercises with solutions 32 8,648 words of explanations and practice · 18 worked examples · 16 review questions
Improve this guide on GitHub Original text · CC BY-SA 4.0
Browse all study guides
Books & references Free reading at the publisher or author’s site. External materials keep their own licenses.