Senior Developer Java Interview Questions

5,300 senior developer java interview questions shared by candidates

The most bad part was the interviewer asked me say 10 questions , I could not answer 2 questions and he wrote the same in the feedback and rejected me. But to my surprise , I later got to know that answers he was expecting from me were actually wrong and it all got screwed.
avatar

Senior Java Developer

Interviewed at NatWest Group

4
Sep 19, 2014

The most bad part was the interviewer asked me say 10 questions , I could not answer 2 questions and he wrote the same in the feedback and rejected me. But to my surprise , I later got to know that answers he was expecting from me were actually wrong and it all got screwed.

1. Introduction 2. Project Overview (Flow, Tools, Technologies and Framework) 3. Agile 4. Stream API Question 5. Java 8 Features 6. Multithreading 7. Hashmap internal working and pseudo codes 8. @Transactional in database in details 9. How to handle concurrency in database for multiple parallel transactions 10. Design Patterns 12. Microservices Design Patterns 13. JPA and JDBC Questions 14. Others
avatar

Senior Software Engineer - Java Developer

Interviewed at Fulcrum Worldwide

4.2
May 23, 2026

1. Introduction 2. Project Overview (Flow, Tools, Technologies and Framework) 3. Agile 4. Stream API Question 5. Java 8 Features 6. Multithreading 7. Hashmap internal working and pseudo codes 8. @Transactional in database in details 9. How to handle concurrency in database for multiple parallel transactions 10. Design Patterns 12. Microservices Design Patterns 13. JPA and JDBC Questions 14. Others

Q1. Spring Security - JWT & AuthO Q2. How many methods to establish the communications between microservices? Q3. Difference between Kafka and RabbitMQ. Q4. How to deploy an application to EC2? Q5. What is Docker and explain some of its commands. Q6. What is Kubernetes and explain some of its commands. Q7. Which microservices design patterns have you used in your application? Q8. What are design patterns? Q9. What is the output of 2.0/0.0? Q10. There are N resources and N threads. You need to assign each thread to each resource so that there shouldn’t be a Thread DeadLock condition. Q11. Difference between Servlets and Common Gateway Interface(CGI). Q12. Difference between Hibernate and JDBC. Q13. Difference between Clustered and non-clustered Image. Q14. Explain the Single-row & Multi-row function. Q15. How many types of indexes are there and explain. Q16. If there is no Foreign Key in between two tables then how will you fetch the data? Q17. Difference between Self-join and Equi-join. Q18. Difference between JRE and JIT and explain. Q19. There is a Junior developer who committed and pushed the faulty 100s of lines of code without telling anyone. You got to after weeks of this incident happening. How will you tackle the situation and what are your future actions? Q20. You have pulled from a source branch and got some merge conflicts. You want to keep your changes. How will you resolve merge conflicts?
avatar

Senior Java Developer

Interviewed at Inspiron Labs

3.8
Mar 11, 2025

Q1. Spring Security - JWT & AuthO Q2. How many methods to establish the communications between microservices? Q3. Difference between Kafka and RabbitMQ. Q4. How to deploy an application to EC2? Q5. What is Docker and explain some of its commands. Q6. What is Kubernetes and explain some of its commands. Q7. Which microservices design patterns have you used in your application? Q8. What are design patterns? Q9. What is the output of 2.0/0.0? Q10. There are N resources and N threads. You need to assign each thread to each resource so that there shouldn’t be a Thread DeadLock condition. Q11. Difference between Servlets and Common Gateway Interface(CGI). Q12. Difference between Hibernate and JDBC. Q13. Difference between Clustered and non-clustered Image. Q14. Explain the Single-row & Multi-row function. Q15. How many types of indexes are there and explain. Q16. If there is no Foreign Key in between two tables then how will you fetch the data? Q17. Difference between Self-join and Equi-join. Q18. Difference between JRE and JIT and explain. Q19. There is a Junior developer who committed and pushed the faulty 100s of lines of code without telling anyone. You got to after weeks of this incident happening. How will you tackle the situation and what are your future actions? Q20. You have pulled from a source branch and got some merge conflicts. You want to keep your changes. How will you resolve merge conflicts?

Viewing 3401 - 3410 interview questions

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