Learn Java 21 in this free 2026 tutorial — syntax, OOP, collections, exceptions, generics, streams, threads, testing and a capstone CLI project. Every example compiles and runs.
Start with lesson 1.1
How Do You Install the JDK on Windows and Verify It?