Java Senior Interview Questions

6,028 java senior interview questions shared by candidates

Perguntas sobre sua trajetória, tecnologias que já utilizou, arquitetura de software, ferramentas de DevOps, sua rotina como desenvolvedor, etc. Sempre há perguntas mais detalhadas para entender o seu nível de exposição e aprofundamento naquela tecnologia.
avatar

Desenvolvedor Java Sênior

Interviewed at Ambev Tech

4.1
Jun 18, 2022

Perguntas sobre sua trajetória, tecnologias que já utilizou, arquitetura de software, ferramentas de DevOps, sua rotina como desenvolvedor, etc. Sempre há perguntas mais detalhadas para entender o seu nível de exposição e aprofundamento naquela tecnologia.

Code: Q1. Design and implement a distributed cache system in Java, capable of handling high-throughput read and write requests across multiple nodes. The goal is to ensure data consistency and fault tolerance in case of node failures. Implement the following features: 1. Data Partitioning: Use consistent hashing to distribute data across multiple cache nodes. 2. Fault Tolerance: When a node fails, ensure that its data is redistributed to other nodes without losing information. 3. Read and Write Operations: Provide efficient APIs for put(key, value) and get(key) operations. 4. Concurrency: Ensure thread-safe operations for the cache. 5. Scalability: Allow dynamic addition and removal of nodes without affecting system performance. Constraints: • Implement the solution in a single Java class for simplicity. • Do not use third-party libraries for consistent hashing. Deliverables: • A working Java implementation of the distributed cache. • Explanation of your design decisions, including trade-offs.
avatar

Senior Java Developer

Interviewed at Andersen Lab

4.4
Mar 14, 2025

Code: Q1. Design and implement a distributed cache system in Java, capable of handling high-throughput read and write requests across multiple nodes. The goal is to ensure data consistency and fault tolerance in case of node failures. Implement the following features: 1. Data Partitioning: Use consistent hashing to distribute data across multiple cache nodes. 2. Fault Tolerance: When a node fails, ensure that its data is redistributed to other nodes without losing information. 3. Read and Write Operations: Provide efficient APIs for put(key, value) and get(key) operations. 4. Concurrency: Ensure thread-safe operations for the cache. 5. Scalability: Allow dynamic addition and removal of nodes without affecting system performance. Constraints: • Implement the solution in a single Java class for simplicity. • Do not use third-party libraries for consistent hashing. Deliverables: • A working Java implementation of the distributed cache. • Explanation of your design decisions, including trade-offs.

I didn't do the screening part properly I think. If you are not used to pair programming or cannot grasp the concept in an hour then you are out. They give you a small problem and you have to fix the failing unit tests. Mine was around the concept of event listeners, events, event managers etc. I think I was a bit stressed with the fact that they were watching me code and I have a limited time.
avatar

Senior Java Developer

Interviewed at Atlassian

3.2
Oct 10, 2013

I didn't do the screening part properly I think. If you are not used to pair programming or cannot grasp the concept in an hour then you are out. They give you a small problem and you have to fix the failing unit tests. Mine was around the concept of event listeners, events, event managers etc. I think I was a bit stressed with the fact that they were watching me code and I have a limited time.

Viewing 4561 - 4570 interview questions

Glassdoor has 6,028 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.