Sr Java Developer Interview Questions

5,547 sr java developer interview questions shared by candidates

Technical Round 1 : Check your knowledge on Java at deep Level. Find count of each word in string using Java-8. Technical Round 2 : 1. Find the missing number on continues array using binary search. 2. Print all combination of string.
avatar

Senior Java Developer

Interviewed at Globant

3.6
Jun 18, 2021

Technical Round 1 : Check your knowledge on Java at deep Level. Find count of each word in string using Java-8. Technical Round 2 : 1. Find the missing number on continues array using binary search. 2. Print all combination of string.

Q1. What is the difference between strong, weak and soft references in Java? Q2. What is the role of the volatile keyword in Java and how does it work? Q3. How do you implement pagination in SQL queries? Q4. Discuss how security can be maintained in a serverless architecture. Q5. How can caching improve application performance and what are some strategies to implement it? Q6. What is the difference between synchronous and asynchronous communication between microservices? Q7. What are the challenges of achieving data consistency in distributed systems and how to resolve those? Q8. What are the advantages of using Docker for application deployment? Q9. What are some common use cases for the Executor framework in Java? Q10. What are the benefits of using functional interfaces and Lambdas in Java? Q11. Can you explain the role of the Command pattern in software design? Q12. How does the Spring Framework support dependency injection? Q13. What is the purpose of the Java Memory Model (JMM)? Q14. Can you explain the key concepts behind an Event-Driven Architecture and its use cases? Q15. What is the role of reactive programming in Java and how is it implemented using Spring Reactor? Q16. What is the role of annotations in Java EE applications? Q17. How is dependency injection implemented in Spring Boot applications? Q18. What are the key differences between SQL and NoSQL databases? Q19. What is the difference between a HashMap and ConcurrentHashMap? Q20. How do you handle versioning in RESTful APIs? Q21. What is the role of Docker Compose in containerized applications? Q22. Can you explain the concept of HATEOS (Hypermedia as the Engine of Application State) in the context of REST APIs? Q23. Can you explain the role and benefits of the CyclicBarrer class in java and provide examples of its typical use cases? Q24. How can you ensure that a Spring Data JPA application is optimized for performance? Q25. What are some best practices for RESTful API design?
avatar

Senior Java Developer

Interviewed at Andersen Lab

4.4
Mar 14, 2025

Q1. What is the difference between strong, weak and soft references in Java? Q2. What is the role of the volatile keyword in Java and how does it work? Q3. How do you implement pagination in SQL queries? Q4. Discuss how security can be maintained in a serverless architecture. Q5. How can caching improve application performance and what are some strategies to implement it? Q6. What is the difference between synchronous and asynchronous communication between microservices? Q7. What are the challenges of achieving data consistency in distributed systems and how to resolve those? Q8. What are the advantages of using Docker for application deployment? Q9. What are some common use cases for the Executor framework in Java? Q10. What are the benefits of using functional interfaces and Lambdas in Java? Q11. Can you explain the role of the Command pattern in software design? Q12. How does the Spring Framework support dependency injection? Q13. What is the purpose of the Java Memory Model (JMM)? Q14. Can you explain the key concepts behind an Event-Driven Architecture and its use cases? Q15. What is the role of reactive programming in Java and how is it implemented using Spring Reactor? Q16. What is the role of annotations in Java EE applications? Q17. How is dependency injection implemented in Spring Boot applications? Q18. What are the key differences between SQL and NoSQL databases? Q19. What is the difference between a HashMap and ConcurrentHashMap? Q20. How do you handle versioning in RESTful APIs? Q21. What is the role of Docker Compose in containerized applications? Q22. Can you explain the concept of HATEOS (Hypermedia as the Engine of Application State) in the context of REST APIs? Q23. Can you explain the role and benefits of the CyclicBarrer class in java and provide examples of its typical use cases? Q24. How can you ensure that a Spring Data JPA application is optimized for performance? Q25. What are some best practices for RESTful API design?

They have sent me an assignment and they were claiming if I do it right, they would definitely offer me, they have implicitly asked to do it in a non-blocking way! Here is my code in regard to their assignment, and in the README file I have also provided their feedback, please judge their feedback by yourself! https://github.com/hady-malekpour/tnt-assignment
avatar

Senior Java Software Engineer

Interviewed at FedEx

3.5
Sep 14, 2020

They have sent me an assignment and they were claiming if I do it right, they would definitely offer me, they have implicitly asked to do it in a non-blocking way! Here is my code in regard to their assignment, and in the README file I have also provided their feedback, please judge their feedback by yourself! https://github.com/hady-malekpour/tnt-assignment

Viewing 2311 - 2320 interview questions

See Interview Questions for Similar Jobs

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