Syllabus
Start with language foundations, then JVM and collections — the topics that show up most in backend interviews.
Getting started
What Java is, install a JDK, write your first program, and understand a simple project layout.
Language basics
Types, operators, control flow, methods, arrays, and strings — the grammar of every Java program.
Object-oriented Java
Classes, encapsulation, inheritance, interfaces, and the equals/hashCode contract.
Core APIs
Exceptions, generics, files, and java.time — the libraries you use every day.
Collections
Lists, sets, maps, and queues — pick the right structure and defend the choice.
Modern Java
Streams, Optional, records, and sealed types used in modern codebases.
JVM & runtime
How the JVM lays out memory, how garbage collection works, and which version features matter.
Concurrency
Threads, locks, concurrent collections, and virtual threads.
Wrap-up
A checklist of day-to-day skills and an interview topic map for what to revise next.