Master Java backend engineering with code you can run.
Structured lessons on modern Java, Spring Boot and design patterns — every concept backed by a runnable example, a diagram and the interview questions you'll actually be asked.
- 74
- lessons
- 23
- GoF patterns
- 216
- interview Q&As
- 111
- quiz questions
import java.util.*;
import java.util.stream.*;
sealed interface Shape permits Circle, Square {}
record Circle(double r) implements Shape {}
record Square(double side) implements Shape {}
class Main {
static double area(Shape s) {
return switch (s) {
case Circle c -> Math.PI * c.r() * c.r();
case Square q -> q.side() * q.side();
};
}
public static void main(String[] args) {
List<Shape> shapes = List.of(new Circle(1), new Square(3), new Circle(2.5));
Map<String, Double> total = shapes.stream()
.collect(Collectors.groupingBy(
s -> s.getClass().getSimpleName(),
TreeMap::new,
Collectors.summingDouble(Main::area)));
total.forEach((k, v) -> System.out.printf("%-7s %.2f%n", k, v));
}
}This is live — press Run or Edit the code.
Three tracks. One coherent path.
Go from language fundamentals to production Spring services and the architecture vocabulary senior engineers use.
Built for learning by doing.
Run Java in the browser
Every example compiles on a real Java 21 JDK. Edit the code, hit Run, see the output — no setup.
UML for every pattern
Class and sequence diagrams that redraw for light and dark mode, right next to the code.
216+ interview questions
Detailed answers with code, common follow-ups and the traps interviewers set. Mark what you know.
111 quiz questions
Shuffled multiple-choice quizzes with explanations for every answer and saved best scores.
Track your progress
Mark lessons complete, bookmark pages and pick up exactly where you left off.
Instant search
Press ⌘K anywhere to search every lesson, pattern and interview answer.
All 23 Gang of Four patterns.
Each with intent, UML, a runnable example, real-world usage in the JDK and Spring, and interview notes.
Interview in two weeks?
Work through the Q&A, take the quizzes and use “I know this” to focus only on the gaps.