Senior Developer Java Interview Questions

5,300 senior developer java interview questions shared by candidates

Code: Q2. Practical Task: Design a Distributed Message Queue You are tasked with designing and implementing a distributed message queue in Java. This message queue must support the following features: 1. Producer/Consumer Pattern: Multiple producers should be able to add messages, and multiple consumers should be able to consume messages concurrently. 2. Message Ordering: Ensure that the messages are consumed in the order they were produced, but only once. 3. High Availability: Implement fault tolerance mechanisms to ensure messages are not lost if a node in the system fails. 4. Scalability: The system should handle a large number of producers and consumers without severe performance degradation. Provide a high-level implementation of the core components (e.g., Producer, Consumer, Broker) and explain the design decisions you made (e.g., thread safety, use of data structures, and synchronization mechanisms)
avatar

Senior Java Developer

Interviewed at Andersen Lab

4.4
Mar 14, 2025

Code: Q2. Practical Task: Design a Distributed Message Queue You are tasked with designing and implementing a distributed message queue in Java. This message queue must support the following features: 1. Producer/Consumer Pattern: Multiple producers should be able to add messages, and multiple consumers should be able to consume messages concurrently. 2. Message Ordering: Ensure that the messages are consumed in the order they were produced, but only once. 3. High Availability: Implement fault tolerance mechanisms to ensure messages are not lost if a node in the system fails. 4. Scalability: The system should handle a large number of producers and consumers without severe performance degradation. Provide a high-level implementation of the core components (e.g., Producer, Consumer, Broker) and explain the design decisions you made (e.g., thread safety, use of data structures, and synchronization mechanisms)

1) Asked to write any Sorting algorithm and asked me to explain the complexity and space complexity. 2) Multithreading and Synchronization program. 3) Guidelines to be followed for Code interview 4) Linked list vs Hashmap 5) Some OOps concepts 6) Web services
avatar

Senior Java Developer

Interviewed at Capital One

3.6
Oct 22, 2016

1) Asked to write any Sorting algorithm and asked me to explain the complexity and space complexity. 2) Multithreading and Synchronization program. 3) Guidelines to be followed for Code interview 4) Linked list vs Hashmap 5) Some OOps concepts 6) Web services

1) Different ways to load a huge log file in the database. 2) Shell scripting - commands like awk, sed, wc -l 3) Database partioning 4) Core java questions 5) Regex in perl scripting Second round: 1) Git 2) Stash 3) Agile Managerial round: 1) Questions about agile 2) How soon you can join the company 3) Architecture of your previous projects Senior Managerial round: 1) What are your expectations from your colleague 2) Latest technology you have learnt and why 3)How will you approach a design problem 4)How will you resolve a issue 5) Given a new scenario, how will you proceed with the POC
avatar

Senior Developer Java/Shell Scripting

Interviewed at Amadeus

4
Jan 12, 2018

1) Different ways to load a huge log file in the database. 2) Shell scripting - commands like awk, sed, wc -l 3) Database partioning 4) Core java questions 5) Regex in perl scripting Second round: 1) Git 2) Stash 3) Agile Managerial round: 1) Questions about agile 2) How soon you can join the company 3) Architecture of your previous projects Senior Managerial round: 1) What are your expectations from your colleague 2) Latest technology you have learnt and why 3)How will you approach a design problem 4)How will you resolve a issue 5) Given a new scenario, how will you proceed with the POC

Viewing 3101 - 3110 interview questions

Glassdoor has 5,300 interview questions and reports from Senior developer java interviews. Prepare for your interview. Get hired. Love your job.