6 lessons, in order. Each one runs in the editor above; for the concepts behind them, read the Java guide.
Hello WorldThe entry point of a Java program is public static void main(String[] args).
Variables and typesJava distinguishes primitive types from reference types.
Classes and objectsJava OOP basics using encapsulation, constructors, and getters/setters.
Lambdas and the Stream APIFunctional programming in Java 8+ β process collections with lambda expressions and Streams.
Generics and collectionsHow to use type-safe collections and generic methods.
Advanced. Separating input, processing, and outputIn compiled-language labs, build the habit of separating parsing, domain calculation, and output instead of putting all the logic in main.