Java Tutorials

Welcome

This track is designed for absolute beginners and scales all the way to architectural considerations. Use the left sidebar to navigate.

Quick Start

// Hello.java
public class Hello {
  public static void main(String[] args) {
    System.out.println("Hello, Java!");
  }
}
// compile
javac Hello.java
// run
java Hello

Tip: Prefer an LTS JDK (17 or 21) to match most production deployments.