Java & the JVM · topic 4 of 6

Multithreading

Threads, locks, executors, the memory model, deadlocks, async.

Questions below are grouped from foundations to advanced. Work top to bottom if the topic is new to you, or jump to a level if you are brushing up.

Questions
30
Difficulty mix
5 easy · 12 medium · 13 hard

Topics covered

  • Threads & Pools9
  • Locks6
  • volatile & Memory Model3
  • Deadlocks3
  • CompletableFuture3
  • Atomics2
  • Virtual Threads1
  • Cancellation1
  • Fundamentals1
  • Coordination1

Foundations

Easy · 5 questions

Definitions and building blocks — start here if the topic is new to you.

Core concepts

Medium · 12 questions

The questions most interviews spend their time on: how it works and when to use it.

Advanced

Hard · 13 questions

Internals, trade-offs and edge cases — useful for senior rounds and follow-ups.

Advertisement

Google AdSense slot