Interview practice by role

Java Developer Interview Practice

Java interviews cover the language and the JVM in depth, then move to services and data. Expect collections, concurrency and memory questions before design discussions.

160 practice questions4 topics5 typical rounds

How the interview usually runs

Loops differ by company. Treat this as a common pattern, not a fixed format.

  1. 01Screening callYour Java version, frameworks and the systems you maintained.
  2. 02Core JavaCollections, equals and hashCode, immutability, generics and exception handling.
  3. 03JVM and concurrencyGarbage collection, memory model, threads, locks and executors.
  4. 04Service and data designREST design, transactions, indexing and handling failures between services.
  5. 05Behavioural roundLegacy code, production issues and mentoring teammates.

What interviewers probe

  • How HashMap works and what breaks it
  • Thread safety and the cost of different locking strategies
  • Garbage collection behaviour and tuning at a high level
  • Transactions, isolation and what happens under concurrent writes
  • Designing services that tolerate partial failure

Common mistakes

  • Memorising collection facts without explaining the trade-offs
  • Mixing up synchronisation tools without a use case
  • Ignoring transactions when discussing data consistency

Practice questions for Java Developer interviews

A starting set from each topic. Every question has a short answer, the full reasoning and the follow-ups interviewers ask.

Reading is step one

Now say it out loud.

Understanding an answer and delivering it under pressure are different skills. Rehearse this topic in a live Java Developer mock interview and get scored feedback on depth, clarity and confidence.

Related roles