Java course

A practical course that goes from installing a JDK to three capstone projects. Every lesson is a manual: a complete program, the command that builds it, and the output it printed on the machine described at the end of the lesson. The course is written and published part by part, and the tree below lists the lessons that are ready to read.

Types and control flow come first, then methods and text, classes and objects, and the part of the language that changed most in recent years: records, sealed types and pattern matching. Collections and streams follow, then exceptions, files, threads and the JVM itself. The last part builds a JSON writer, a task tracker and a small HTTP service, one lesson at a time.

Start with What Java is and where it runs. For a short description of the language read Java basics, and to put a JDK on your machine open the install guide for your system.

Lessons

Click a part of the course to open or close its lessons.