Course details
Java
Learn modern Java from the first compiled file to classes, interfaces, exceptions and collections. Every idea is taught on one small café ordering program, so each lesson builds on the last.
Course curriculum
Java Basics5 lessons
Follow a file from source to the JVM, learn the shape of every Java program, and choose types, variables, operators and casts that behave exactly as you expect.
Control Flow, Arrays and Strings4 lessons
Choose between paths with if and switch, repeat with for and while, store rows of values in arrays, and work with text using String methods.
Classes and Objects4 lessons
Build Brew Bar's Drink and Order classes with fields, constructors and methods, protect them with access specifiers, and share class-wide values with static and final.
Object-Oriented Principles5 lessons
Extend classes, override and overload methods, program against abstract types and interfaces, model fixed choices and plain data with enums and records, and see exactly what a method receives.
Exception Handling3 lessons
Catch and recover from run-time problems, tell checked from unchecked exceptions, throw your own well-named exceptions, and close resources automatically.
Collections3 lessons
Grow and shrink lists with ArrayList, keep unique values in a Set, look things up in a Map, and serve items in order with queues and stacks.
