Java · From methods to reliable programs
Six guided lessons from language fundamentals to a tested program. Read the example, run it in the stated environment, then complete the extension checklist.
Prerequisite: Basic computer use; no previous experience with this language. · 170 minutes of guided study
6 published lessons, from first principles to a small project.
Start first lesson →What you’ll be able to do
- Types, methods and conditions
- Lists, loops and independent results
- Records and value-oriented modeling
- Parsing and exception boundaries
- Streams and grouping without mutation
- Project · Inventory with checked updates
How to study this course
Follow the numbered modules. Read the example, explain why it works, attempt the exercise, then compare your result with the supplied checks.
Setup: JDK 17 or newer. Save each standalone example as Main.java; run javac Main.java then java Main. The final example uses assertions: java -ea Main.
Times estimate guided reading and practice. Projects and revision can take longer.