Java from zero
You have never programmed, or you are new to Java.
Install Java and write real programs, then learn objects, collections and the modern Java basics every job expects.
Not sure what to learn next? Pick your goal and follow the lessons in order. Every path is free, and your progress is saved in this browser.
You have never programmed, or you are new to Java.
Install Java and write real programs, then learn objects, collections and the modern Java basics every job expects.
You know the Java basics and want to build and ship REST APIs.
Everything between "I know Java" and "I can build a production Spring Boot service": tools, testing, databases, Spring and deployment.
You have a Java developer interview coming up.
The topics interviewers ask about most, from equals and HashMap internals to concurrency, data structures, Spring and system design.
You work on an older codebase and want to use modern Java.
What changed after Java 8 and how to use it: var, switch expressions, text blocks, records, pattern matching, the HTTP client, modules and virtual threads.
You build services that have to scale and stay up.
Service boundaries, gateways, messaging, resilience, sagas, caching, background jobs, containers and CI/CD.
You know basic Java and want to understand threads properly, step by step.
Start with what a thread is, then learn why shared data breaks and how to protect it, then the tools real systems use: thread pools, CompletableFuture, concurrent collections and virtual threads.
You can write basic Java and want to use lambdas and collections the way professionals do.
Lambdas and the core functional interfaces with real examples, every List, Set, Map and Queue, streams, and the comparisons interviewers love.
You use HashMap every day and want to know exactly what happens inside (a favourite interview topic).
Thirteen short lessons with an interactive lab: hashing, buckets, put and get, collisions, load factor, capacity, resizing, equals and hashCode, treeification, Java 7 vs 8 and mutable keys.
You know the definitions of OOP and want to understand how it actually works and how to design with it.
Classes and constructors, overloading vs overriding, what really happens with a parent reference, interfaces vs abstract classes, composition over inheritance and object relationships.
You use Spring Boot and want to understand what the framework is doing for you, and secure an API properly.
The IoC container, dependency injection, scopes, configuration, proxies and events; then the security filter chain, authentication, password storage, authorization, JWT, OAuth 2.0 and CSRF/CORS. Every step has a lab or diagram.
See every topic grouped by stage and level on the all Java topics page.