Tech Interview RoomStudy guides

Learning path · 57 lessons · 7 topics

☕ Java interview preparation

Core Java to Java 21: collections, OOP, JVM internals, streams and concurrency.

Java is still the most common language in backend interviews, and interviewers go deep: how a HashMap works inside, what the JVM does with memory, how threads share data safely, and which modern features (records, sealed types, virtual threads) you actually use.

Start with core Java and OOP, then move to the JVM and concurrency, and finish with the Java 8, 17 and 21 features that show you write modern code. Every lesson has runnable examples and the follow-up questions interviewers ask next.

What you will learn

  • Collections internals, equals/hashCode, immutability and generics
  • JVM memory, garbage collection, class loading
  • Threads, locks, executors, CompletableFuture and virtual threads
  • Lambdas, streams, records, sealed classes, pattern matching

Topics

Roadmap: beginner to advanced

  1. 1

    Intermediate Intermediate stage

    Working knowledge: how things behave in real projects and the trade-offs you make.

    Java

    Java 8

    Java 17

    Java 21

    Java Streams

    Concurrency

  2. 2

    Advanced Advanced stage

    Senior depth: internals, scale, failure modes and design decisions.

    Java

    Advanced Java

    Java 8

    Java 17

    Java 21

    Concurrency