Sr Java Developer Interview Questions

5,526 sr java developer interview questions shared by candidates

1. OOPs concepts and classes 2. Methods and functions 3. Design patterns and their usage 4. Have you worked on Singleton design? What are its pros and cons? 5. Strings, Java templates, error handling and exceptions 6. Multithreading and parallel computing
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Sep 9, 2021

1. OOPs concepts and classes 2. Methods and functions 3. Design patterns and their usage 4. Have you worked on Singleton design? What are its pros and cons? 5. Strings, Java templates, error handling and exceptions 6. Multithreading and parallel computing

1. Core Java concepts in detail - almost all topics were touched upon 2. A coding assignment based on a case study 3. Data structure and algorithm - I wrote an algorithm and calculated efficiency for a million data records. 4. How will you manage challenging situations like a conflict of interest at the workplace?
avatar

Senior Java Developer

Interviewed at Publicis Sapient

3.4
Sep 13, 2021

1. Core Java concepts in detail - almost all topics were touched upon 2. A coding assignment based on a case study 3. Data structure and algorithm - I wrote an algorithm and calculated efficiency for a million data records. 4. How will you manage challenging situations like a conflict of interest at the workplace?

1. Project Discussion: I was asked to explain the current architecture of my project. I spoke about our microservices-based payment platform using Spring Boot, Kafka, Redis, and PostgreSQL. 2. Deep Dive into Challenges: They asked about the most challenging issue I faced. I shared how we handled message duplication and retries when Kafka consumers failed and how we used Redis for idempotency. 3. Core Spring Concepts: Questions included: Scopes of Spring beans, Use of Prototype scope and related implementation, Common mistakes with Singleton beans, How to exclude packages from component scanning 4. Transaction Management: They asked about @Transactional and how Spring manages transactions under the hood. 5. JPA & Hibernate: Topics included: Features of JPA, Optimizing queries to prevent repetitive DB hits 6. Kafka Scenario-Based: A practical scenario: what to do when a Kafka producer fails. I explained storing failed messages, retry strategies, DB optimizations, and caching using Redis.
avatar

Senior Java Microservices Developer

Interviewed at Oracle

3.5
Jun 9, 2025

1. Project Discussion: I was asked to explain the current architecture of my project. I spoke about our microservices-based payment platform using Spring Boot, Kafka, Redis, and PostgreSQL. 2. Deep Dive into Challenges: They asked about the most challenging issue I faced. I shared how we handled message duplication and retries when Kafka consumers failed and how we used Redis for idempotency. 3. Core Spring Concepts: Questions included: Scopes of Spring beans, Use of Prototype scope and related implementation, Common mistakes with Singleton beans, How to exclude packages from component scanning 4. Transaction Management: They asked about @Transactional and how Spring manages transactions under the hood. 5. JPA & Hibernate: Topics included: Features of JPA, Optimizing queries to prevent repetitive DB hits 6. Kafka Scenario-Based: A practical scenario: what to do when a Kafka producer fails. I explained storing failed messages, retry strategies, DB optimizations, and caching using Redis.

Attended 6 rounds. Java 8, Spring Boot, Microservices along with design patterns. These are the main area of focus in interviews. And mainly they will expect to write a program using java streams. So we should be good at Java 8 stream api's.
avatar

Senior Java Developer

Interviewed at Altimetrik

3.8
Mar 18, 2025

Attended 6 rounds. Java 8, Spring Boot, Microservices along with design patterns. These are the main area of focus in interviews. And mainly they will expect to write a program using java streams. So we should be good at Java 8 stream api's.

Viewing 5311 - 5320 interview questions

See Interview Questions for Similar Jobs

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