Look first for evidence that a Java developer can write correct, maintainable code against real constraints—not just recite language features—and then verify the specific version, stack, and seniority level you actually need, because "Java developer" spans Android work, backend services, enterprise integration, and legacy maintenance that demand different strengths. The biggest ambiguity is that the question does not specify a role level, a Java edition (for example, whether the codebase uses modern long-term-support releases or an older enterprise version), a framework stack, or a hiring stage. Those omissions matter: a checklist that fits a senior Spring Boot backend engineer is misleading for a junior maintainer of a legacy application. What is answerable is the durable set of competencies and the way to probe them, plus the version-dependent points you must confirm locally.

Start With the Distinction That Changes Everything

"Java developer" is a family of roles, not one job. A backend engineer building REST services with Spring Boot, an Android developer writing Kotlin-and-Java apps, a data engineer using the Java Virtual Machine (JVM) for streaming pipelines, and a maintenance engineer keeping a monolithic enterprise system alive share a language but little else day to day. Before building any evaluation, write down four things: the seniority level, the Java version in production, the primary frameworks and build tools, and the kind of work (new features, migration, performance, or support). Without those, you will screen for the wrong signals.

The Java edition deserves special attention because features arrive with specific releases. Records, pattern matching for switch, sealed classes, and text blocks became standard at different points in the language's evolution, and virtual threads—lightweight threads that make blocking-style concurrency scale better—arrived as a standard feature in a later long-term-support release than many interview questions assume. A candidate who fluently uses records may still be wrong for a codebase pinned to an old version, and a candidate who has never used them may be perfect for it. Ask which version the team runs and whether migration is planned; then judge accordingly. Do not treat "knows the newest features" as a universal virtue.

Core Language Competence, Tested Through Reasoning

Strong Java developers understand the language's semantics, not just its syntax. Probe these areas with small problems where the reasoning is visible:

Object model and equality. Can the candidate explain the contract between equals and hashCode, and why violating it breaks hash-based collections? A good answer connects the rule to a concrete bug, such as an object that disappears from a HashSet after a field changes. Immutability and side effects. Can they design a class that is safely shareable across threads? Do they know why final fields and defensive copies matter? Generics and type erasure. Can they explain why you cannot create a generic array or check a generic type at runtime? This separates people who use collections from people who understand them. Exceptions. Do they distinguish checked from unchecked exceptions and choose deliberately rather than by habit? Can they describe when a custom exception adds value and when it is noise? Collections and their costs. Can they pick between a List, Set, and Map for a stated access pattern and name the expected complexity? Senior candidates should also know when a concurrent collection is appropriate. Memory and the garbage collector. At mid and senior levels, can they describe how objects become eligible for collection, what a memory leak looks like in a managed runtime (often a growing static cache or an unremoved listener), and how they would investigate one?

Favor questions with a scenario and a trade-off over trivia. "What does String immutability buy you?" invites a real answer about safety, caching, and hash stability. "Name all the methods of Object" invites memorization.

Concurrency Is Where Judgment Shows

Concurrency is the area where weak Java developers cause the most expensive failures, so give it real weight. Look for the ability to reason about shared mutable state, visibility, and atomicity, not just to name classes from the concurrency package. A candidate should be able to explain, in plain terms, why two threads incrementing a counter can lose an update, and then propose fixes with their trade-offs—synchronization, atomic variables, or redesigning to avoid shared state.

At senior levels, ask how they would choose between thread pools, why unbounded queues are dangerous under load, and how they would diagnose a deadlock or a thread starvation problem. If the role involves high-throughput services, virtual threads may be relevant, but the right answer depends on the workload: they help with many blocking tasks, and they are not a cure for CPU-bound work or for code that holds locks badly. A candidate who claims virtual threads solve all concurrency problems is overselling.

The Ecosystem: Frameworks, Build, and Data Access

Most professional Java work happens inside frameworks and build systems, so verify fluency in the ones you actually use. For a Spring-based backend, look for understanding of dependency injection, request scoping, transaction boundaries, and how the framework's conventions can hide performance or correctness traps. For persistence, ask how the candidate decides between hand-written SQL and an object-relational mapper, and how they detect the classic problem of many small queries fired in a loop. A developer who can read a query plan or add the right index is more valuable than one who only knows the mapper's API.

Build and dependency management matter more than they appear. A solid developer can explain why reproducible builds matter, how dependency conflicts arise, and how they would track down a version clash. Familiarity with testing frameworks and the discipline of writing tests that fail for the right reason is a strong signal, especially at mid level and above.

Code Reading Beats Code Quizzes

The single most informative exercise is giving the candidate a small, realistic codebase or pull request and asking them to review it aloud. You learn how they read unfamiliar code, whether they notice edge cases, how they talk about trade-offs, and whether they can disagree without hostility. Prepare a snippet with a subtle bug—an unclosed resource, a mutable object exposed through a getter, a race in a cache, a query inside a loop—and see whether they find it and how they explain the fix.

Pair this with a small design task scoped to the role. Ask them to sketch a service that shortens links or tracks inventory, and then press on failure modes: What happens when the database is slow? How do you avoid duplicate processing? What do you log, and what do you never log? Strong candidates ask clarifying questions before designing, which is itself a signal.

Engineering Habits That Predict Success

Beyond language and frameworks, look for habits that determine whether someone is a net asset to a team:

Debugging method. Do they form hypotheses and test them, or guess? Can they use logs, breakpoints, and profiling rather than only print statements? Testing judgment. Do they test behavior rather than implementation details? Do they know what not to test? Version control and review discipline. Small commits, clear messages, and willingness to give and take review feedback. Production awareness. Understanding of logging levels, metrics, and what an alert should mean. Communication. Can they explain a technical trade-off to a non-specialist? Do they document decisions?

These are observable in interviews through structured behavioral questions tied to specific past work, and they are often better predictors than puzzle performance.

Seniority Changes the Bar

At junior level, prioritize fundamentals, curiosity, and the ability to learn from feedback; a candidate who writes clear small methods and tests them is promising. At mid level, expect independent delivery, solid debugging, and framework fluency. At senior level, look for design judgment, the ability to weigh trade-offs under uncertainty, mentorship, and ownership of production outcomes. A staff or lead role adds cross-team influence and the ability to set technical direction. Judge against the level you are hiring for, not an abstract ideal, and be explicit that the same question has different expected depth at each level.

What to Confirm Locally

Because no live evidence is available for this request, several items must be checked against your own organization before you finalize criteria: the exact Java version and whether migration is planned; the frameworks, build tools, and databases in use; any regulatory or security constraints on the code; and the compensation and labor-market conditions at your reference date. Hiring standards and legal requirements for interview questions vary by jurisdiction, so confirm that your process complies with local employment law. Availability and market rates change; do not treat any figure or trend as verified here.

Red Flags and False Positives

Watch for candidates who cannot explain their own past code, who dismiss testing or review as bureaucracy, or who give confident answers without acknowledging uncertainty. Also avoid the reverse error: penalizing someone for not knowing a framework they could learn in weeks when their fundamentals are strong, or rewarding trivia recall over reasoning. The goal is to predict on-the-job performance, and that prediction is best served by a mix of code reading, a scoped design discussion, and structured questions about real past work.