Sr Java Developer Interview Questions

5,281 sr java developer interview questions shared by candidates

1. Explain the role of dependency injection in Spring Boot and how it facilitates modular and testable code. 2. Discuss the advantages and challenges of using microservices architecture compared to monolithic architecture in large-scale applications.
avatar

Senior Java Developer

Interviewed at Wipro

3.6
Apr 17, 2024

1. Explain the role of dependency injection in Spring Boot and how it facilitates modular and testable code. 2. Discuss the advantages and challenges of using microservices architecture compared to monolithic architecture in large-scale applications.

Ways of creating thread. When to use runnable and when to use Thread. Abstract Class Instantiation of Abstract class Singleton classes Where singleton design can break? Custom class object as key in hashmap Identity hashmaps---equality is done using reference (==) Concurrent hashmaps--contains segments--1Sements = 1 Hasmap(Conceptually) Final class
avatar

Senior Java Developer

Interviewed at Capgemini

4.1
Jul 20, 2025

Ways of creating thread. When to use runnable and when to use Thread. Abstract Class Instantiation of Abstract class Singleton classes Where singleton design can break? Custom class object as key in hashmap Identity hashmaps---equality is done using reference (==) Concurrent hashmaps--contains segments--1Sements = 1 Hasmap(Conceptually) Final class

Viewing 5261 - 5270 interview questions

See Interview Questions for Similar Jobs

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