Self-paced course
Learn Java
Learn Java from the ground up: syntax, object-oriented design, the Collections framework and modern Java 8+ features like lambdas, streams and Optional.
Teach yourself Java at your own pace — each lesson ends with exercises and interview questions so you can check your understanding before moving on.
- Lessons
- 8
- Total time
- 2.3h
- Your progress
- 0%
Lessons
- 01
Introduction to Java
What Java is, how the JVM runs your code, and writing your first program.
Beginner10 min - 02
Variables, Types and Control Flow
Store data in typed variables and make decisions with if, switch and loops.
Beginner18 min - 03
Classes and Objects
Model real things with classes, constructors, encapsulation and records.
Beginner20 min - 04
Inheritance, Interfaces and Polymorphism
Reuse and extend behaviour with inheritance, and program to interfaces for flexible code.
Beginner20 min - 05
The Collections Framework
List, Set and Map — how they differ, how they perform, and how to choose.
Beginner22 min - 06
Lambdas and Functional Interfaces
Pass behaviour as data with lambda expressions and method references.
Intermediate16 min - 07
Java Streams
Process collections declaratively with filter, map, reduce and collect.
Intermediate20 min - 08
Optional
Represent "maybe a value" explicitly and stop writing null checks everywhere.
Intermediate12 min
Roadmaps that include Java
Java Full Stack
From your first Java class to a deployed, secured Spring Boot API with a database and a frontend.
Java → Spring Boot → SQL → Angular → Docker → AWS
Backend Developer
APIs, databases, caching and deployment — the core of server-side engineering.
Java → Spring Boot → SQL → Docker
Java articles
Java
Java Streams in Practice: 10 Patterns You'll Use Every Day
The stream recipes that show up again and again in real backend code — grouping, lookups, deduplication, pagination and the mistakes to avoid.
Java
How HashMap Works Internally in Java
Buckets, hashing, collisions, treeification and resizing — the HashMap internals every Java interview asks about, explained simply.