Skip to content

Java / Intermediate · Free and public

Intermediate Java in 7 Days

Build a tested Java task tracker with collections, interfaces, generics, streams and robust input validation.

Start Day 1 →

Build on what you know

Prerequisites: Java beginner, or comfort with methods, arrays, ArrayList, constructors, private fields, exceptions and simple tests. Day 1 checks that bridge. Interfaces, maps, generics and lambdas are introduced here before they are used.

36 lessons across seven days. Allow about 80–90 minutes of active study per day. Predict results, trace state, change inputs and complete the checkpoint before opening its solution. These are estimates, not measured completion times; split a day over several sessions freely. Delayed review is extra.

All lessons are public. Examples run in code-playpad 0.6.0, a documented Java 25 subset. Programs start fresh on each run. Input is supplied before Run. No account, server, disk access, framework or installation is needed for the core course. The resource lesson uses an in-memory reader; file access belongs in a real JDK.

Completion is saved in this browser separately from other courses. Editor drafts are not automatically saved: copy your work before leaving. Download the complete task tracker and tests for optional local JDK work.

Finished the task tracker? Continue with Java advanced for modern value models, exact decimal reports and atomic imports.

Practice in three passes

Predict and trace an example, repair a plausible mistake, then build the day's independent task. Try the debugging workspace before opening its hints. Use the checkpoint's acceptance cases to choose tests, then recreate the central operation from memory.

Allow about 90 minutes per day for the expanded practice, or split a day into shorter sessions. Finish the checkpoint before continuing; review challenges on Day 7 are extra practice for a later date.

Day 1 · About 90 minutes

Objects & Contracts

Protect valid state, compare values and model a fixed set of choices.

  1. Methods & Contracts 15 min · Read, predict, build and test
  2. Constructors & Invariants 20 min · Read, predict, build and test
  3. equals & hashCode 15 min · Read, predict, build and test
  4. Enums & State 20 min · Read, predict, build and test
  5. Checkpoint: Valid Values 20 min · Independent practice

Day 2 · About 90 minutes

Collections & Ownership

Choose lists, sets and maps, and control who can change their contents.

  1. List & ArrayList 15 min · Read, predict, build and test
  2. Set & Uniqueness 20 min · Read, predict, build and test
  3. Map & Key Lookup 15 min · Read, predict, build and test
  4. Copies & Ownership 20 min · Read, predict, build and test
  5. Checkpoint: Topic Report 20 min · Independent practice

Day 3 · About 90 minutes

Interfaces & Composition

Separate a caller from an implementation and test interchangeable behavior.

  1. Interfaces & Polymorphism 20 min · Read, predict, build and test
  2. Composition & Dependencies 20 min · Read, predict, build and test
  3. Inheritance & Overrides 15 min · Read, predict, build and test
  4. Repository Contracts 15 min · Read, predict, build and test
  5. Checkpoint: Swap a Policy 20 min · Independent practice

Day 4 · About 90 minutes

Generics & Type Safety

Write reusable containers and methods without losing useful type information.

  1. Generic Classes 20 min · Read, predict, build and test
  2. Generic Methods 20 min · Read, predict, build and test
  3. Type Bounds 15 min · Read, predict, build and test
  4. Wildcards & Variance 15 min · Read, predict, build and test
  5. Checkpoint: Typed Shelf 20 min · Independent practice

Day 5 · About 90 minutes

Lambdas & Streams

Pass behavior, define stable ordering and build readable collection pipelines.

  1. Lambdas & Method References 15 min · Read, predict, build and test
  2. Comparator & Sorting 15 min · Read, predict, build and test
  3. Stream Pipelines 20 min · Read, predict, build and test
  4. Collecting Results 20 min · Read, predict, build and test
  5. Checkpoint: Ranked Report 20 min · Independent practice

Day 6 · About 90 minutes

Parsing & Recovery

Validate text at a boundary, manage a reader and test recovery without losing good data.

  1. Parsing & Validation 20 min · Read, predict, build and test
  2. Checked Exceptions 15 min · Read, predict, build and test
  3. Readers & Resource Cleanup 20 min · Read, predict, build and test
  4. Regression Tests 15 min · Read, predict, build and test
  5. Checkpoint: Recover per Line 20 min · Independent practice

Day 7 · About 90 minutes

Build a Task Tracker

Run and test a multi-file application, then solve a fresh independent brief.

  1. Task Tracker 20 min · Read, predict, build and test
  2. Project Tests 15 min · Read, predict, build and test
  3. Extend the Tracker 15 min · Read, predict, build and test
  4. Run Java Locally 10 min · Read, predict, build and test
  5. On Your Own: Reservations 30 min · Independent practice
  6. Come Back Later 20 min · Return later · extra review