All Java topics
132 topics and 212 subtopics in 18 stages, from your first program to production microservices. Filter by level or search by name, or follow a learning path if you'd like a set order.
132 topics
Part 1Core Java
Core Java · 1Java basics
How Java runs, variables and types, operators, decisions, loops and arrays, methods, input and output, numbers and recursion.
- How Java runs: JDK, JRE and JVMBeginner
- Variables and data typesBeginner
- Operators and expressionsBeginner
- Control flow and the modern switchBeginner
- Loops and arraysBeginner
- Methods and pass-by-valueBeginner
- Reading input and formatting outputBeginner
- Numbers: Math, BigDecimal and random valuesBeginner
- RecursionBeginner
Core Java · 2Object-oriented programming
Classes, the four pillars, interfaces, records, sealed types and the Object contract.
- Classes, objects and constructorsBeginner
- static, final and constantsBeginner
1 subtopics
- Packages, imports and project structureBeginner
- Access modifiers: private, package-private, protected and publicBeginner
- Encapsulation, inheritance and polymorphismBeginner
- Method overloading vs overridingBeginner
- What happens when a child object is assigned to a parent reference?Intermediate
- Interfaces and abstract classes: the basicsIntermediate
- Interface vs abstract class: when should I use which?Intermediate
- Why prefer composition over inheritance?Intermediate
- IS-A and HAS-A: association, aggregation and compositionIntermediate
- Nested, inner and anonymous classesIntermediate
- Enums in depthIntermediate
1 subtopics
- Records, enums and sealed typesIntermediate
- equals(), hashCode() and the Object contractIntermediate
- Immutable objectsIntermediate
Core Java · 3Strings
String, StringBuilder, the string pool, text blocks, formatting and regular expressions.
Core Java · 4Exception handling
try, catch and finally, checked vs unchecked exceptions, try-with-resources, custom exceptions and good error design.
- Exception handlingIntermediate
12 subtopics
Core Java · 5Multithreading
Step by step: threads, Runnable and Callable, then race conditions and synchronization, then thread pools, Fork/Join, CompletableFuture, concurrent collections and virtual threads.
- Multithreading basics: threads, Runnable and CallableBeginner
10 subtopics
- Race conditions and synchronization: synchronized, locks, volatile and atomicsIntermediate
- ExecutorService, ThreadPoolExecutor and FutureAdvanced
- Concurrent collections and synchronizers: ConcurrentHashMap, CountDownLatch, CyclicBarrier and SemaphoreAdvanced
- Fork/Join framework and parallel streamsAdvanced
- CompletableFutureAdvanced
- Virtual threadsAdvanced
1 subtopics
Core Java · 6Collections
A guided path: understand the framework and generics, learn List/Set/Queue and Map implementations, unpack HashMap internals step by step, then compare structures, sort and iterate safely, and finish with practical challenges.
- Collections framework: choosing the right oneIntermediate
- Generics and wildcardsIntermediate
- Every List, Set and Queue: ArrayList to BlockingQueueIntermediate
- ArrayList vs LinkedListIntermediate
- Every Map: HashMap, LinkedHashMap, TreeMap, Hashtable and ConcurrentHashMapIntermediate
- How HashMap works insideAdvanced
- HashMap internals 1: What is hashing?Intermediate
- HashMap internals 2: What is a bucket?Intermediate
- HashMap internals 3: How put() worksIntermediate
- HashMap internals 4: How get() worksIntermediate
- HashMap internals 5: CollisionsIntermediate
- HashMap internals 6: How collisions are resolvedIntermediate
- HashMap internals 10: equals() and hashCode()Intermediate
- HashMap internals 7: Load factorIntermediate
- HashMap internals 8: Initial capacityIntermediate
- HashMap internals 9: Resize and rehashAdvanced
- HashMap internals 11: Treeification (Java 8+)Advanced
- HashMap internals 12: Java 7 vs Java 8+Advanced
- HashMap internals 13: Why mutable keys are dangerousIntermediate
- HashSet vs TreeSet (and LinkedHashSet)Intermediate
- HashMap vs LinkedHashMapIntermediate
- HashMap vs HashtableIntermediate
- HashMap vs ConcurrentHashMapAdvanced
- Sorting with natural order: Comparable and Collections.sortIntermediate
- Comparator recipes: sorting by multiple fieldsIntermediate
- Iterator vs ListIteratorIntermediate
- Fail-fast vs fail-safe iteratorsIntermediate
Core Java · 7More core APIs
Dates and times, files and I/O, serialization, reflection, networking and internationalisation.
- java.time: dates done rightIntermediate
- Files and I/O with NIO.2Intermediate
- Serialization: Serializable, transient and safer alternativesIntermediate
- Reflection: how frameworks read your classesAdvanced
- Networking: sockets, TCP and URLsIntermediate
- Internationalisation: Locale, formatting and resource bundlesIntermediate
Core Java · 8JVM internals
How the JVM manages memory and garbage collection, and how classes are loaded.
Part 2Java 8 and beyond
Java 8 and beyond · 1Java 8: lambdas and streams
The features that changed Java: lambdas and functional interfaces, the Stream API, collectors and Optional.
Java 8 and beyond · 2Java 9 to 25
A guided tour of every language feature from Java 10 to 25, then pattern matching, modules and the HTTP client in depth.
Part 3Problem solving and design
Problem solving and design · 1Data structures and algorithms
Big-O, sorting and searching, linked lists, stacks and queues, trees and graphs, and dynamic programming.
Problem solving and design · 2Design and clean code
Writing code other people can read, the SOLID principles, and the design patterns you'll meet in real projects.
Problem solving and design · 3Tools and testing
Maven and Gradle, logging, JUnit and Mockito, debugging, annotations and reflection, and JSON with Jackson.
Part 4Databases, Spring and microservices
Databases, Spring and microservices · 1JDBC, JPA and Hibernate
From raw JDBC to entity mapping, the persistence context, N+1 queries and transactions. Examples use Jakarta Persistence with Hibernate 6/7 and Spring Boot 3+, which need Java 17.
Databases, Spring and microservices · 2Spring Core and Spring MVC
How Spring really works: the IoC container, dependency injection, scopes and lifecycle, Java configuration, AOP and proxies, events, and the MVC request flow, with interactive labs.
- IoC and dependency injectionIntermediate
- Dependency injection in depth: constructor, setter, field, @Qualifier and @PrimaryIntermediate
- Bean scopes and lifecycleIntermediate
- Java configuration: @Configuration, @Bean, @Import, @Profile and @ConditionalIntermediate
- Aspect-oriented programmingAdvanced
- How Spring proxies work: JDK dynamic proxies, CGLIB and the self-invocation trapAdvanced
- Application events: decoupling with @EventListenerIntermediate
- Spring MVC request flowIntermediate
Databases, Spring and microservices · 3Spring Boot
Auto-configuration, configuration and profiles, Spring Data JPA, REST APIs, security and testing.
- Auto-configuration and startersBeginner
- Configuration, profiles and propertiesIntermediate
- Spring Data JPA repositoriesIntermediate
- REST APIs, validation and error handlingIntermediate
- Testing Spring Boot appsIntermediate
- Caching with Spring and RedisIntermediate
- Scheduled and background tasksIntermediate
- Reactive Spring: WebFlux, Mono and FluxAdvanced
Databases, Spring and microservices · 4Spring Security
From the filter chain to OAuth 2.0: authentication, password storage, authorization, JWT, OpenID Connect, CSRF and CORS, with labs that sign real tokens and hash real passwords.
- Spring Security: the big pictureAdvanced
1 subtopics
- Inside Spring Security: DelegatingFilterProxy, SecurityFilterChain and the SecurityContextIntermediate
- Authentication: UserDetailsService, AuthenticationManager and loginIntermediate
- Storing passwords: hashing, salting and BCryptBeginner
- Authorization: URL rules, roles vs authorities and method securityIntermediate
- JWT for stateless APIs: structure, signing, expiry and refresh tokensAdvanced
- OAuth 2.0 and OpenID Connect: social login, Keycloak and resource serversAdvanced
- CSRF, CORS and security headersIntermediate
Databases, Spring and microservices · 5Microservices
Service boundaries, gateways and discovery, messaging, resilience, sagas and deployment.
- Monolith vs microservicesIntermediate
- API gateway and service discoveryIntermediate
- Sync vs async communication (REST and Kafka)Advanced
- Resilience: timeouts, retries and circuit breakersAdvanced
- Distributed data and the saga patternAdvanced
- Docker, Kubernetes and observabilityIntermediate
- CI/CD with GitHub ActionsIntermediate