Software Developer Java Interview Questions

4,198 software developer java interview questions shared by candidates

Interview Experience- Round 1: Explain your micro services project. Why it is good? How to handle failure/ service down? Implement a caching service using java and the runtime memory. Implement an iterator which prints alternate elements. Round 2: Purely java based round. All the aspects of core java was touched in this round. Round 3: Tech arch round. The arch came with a question printed on a paper. The question was ambiguous and hence there doesn’t exist an exact solution but they will expect the same code which they have in their mind. No questions from Data Structures or system design. This round was really a turn off for me.
avatar

Java Software Developer

Interviewed at Syncron

3.4
Feb 11, 2019

Interview Experience- Round 1: Explain your micro services project. Why it is good? How to handle failure/ service down? Implement a caching service using java and the runtime memory. Implement an iterator which prints alternate elements. Round 2: Purely java based round. All the aspects of core java was touched in this round. Round 3: Tech arch round. The arch came with a question printed on a paper. The question was ambiguous and hence there doesn’t exist an exact solution but they will expect the same code which they have in their mind. No questions from Data Structures or system design. This round was really a turn off for me.

1. Roles, responsibilities of your current project 2. How are you trying to generate the templates in IDM? 3. AWS Questions on EC2, S3, Lambda 4. How are you deploying the application? --> in EC2 5. Any git review comments you faced? what are they 6. How do u commit your changes using Git 7. Explain scrum process -- sprint demo, planning, retro calls 8. How do u plan your sprint tasks/stories 9. How do u assign points in the sprint 10. What is an optional class explain with an example 11. There is a class B with final variables and a static block calling these final variables. From class A, we are trying to access the B class's static block. What happens? Answer: we cant access the final variables to a static method. The static method can access only static variables. 12. What happens when a constructor is created a private? 13. what is default scope when a bean is created 14. Algorithm to delete duplicates in the list 15. can we use any collection to remove duplicates? --> Yes sets 16. Hashmap vs hashtable 17. How to synchronize a variable 18. Anything you want to highlight from your skills? --? SpringBoot with microservices 19. Delete and truncate in SQL 20. How can i access different coloumns in different tables --> Joins 21. Array and ArrayList 22. How did you run Jmeter 23. In wrapper class, when declared int i = 123, i2 = 123, what is i==i2? 24. How to make java a loose coupling application? 25. What is dependency injection? 26. Difference between post and put? 27. What happens if i submit a put or post api's for N times? 28. If parent class is throwing an exception, and child class is not throwning an exception. Will it give any error or give the result?
avatar

Software Engineer - Java Developer

Interviewed at Cognizant

3.9
May 31, 2021

1. Roles, responsibilities of your current project 2. How are you trying to generate the templates in IDM? 3. AWS Questions on EC2, S3, Lambda 4. How are you deploying the application? --> in EC2 5. Any git review comments you faced? what are they 6. How do u commit your changes using Git 7. Explain scrum process -- sprint demo, planning, retro calls 8. How do u plan your sprint tasks/stories 9. How do u assign points in the sprint 10. What is an optional class explain with an example 11. There is a class B with final variables and a static block calling these final variables. From class A, we are trying to access the B class's static block. What happens? Answer: we cant access the final variables to a static method. The static method can access only static variables. 12. What happens when a constructor is created a private? 13. what is default scope when a bean is created 14. Algorithm to delete duplicates in the list 15. can we use any collection to remove duplicates? --> Yes sets 16. Hashmap vs hashtable 17. How to synchronize a variable 18. Anything you want to highlight from your skills? --? SpringBoot with microservices 19. Delete and truncate in SQL 20. How can i access different coloumns in different tables --> Joins 21. Array and ArrayList 22. How did you run Jmeter 23. In wrapper class, when declared int i = 123, i2 = 123, what is i==i2? 24. How to make java a loose coupling application? 25. What is dependency injection? 26. Difference between post and put? 27. What happens if i submit a put or post api's for N times? 28. If parent class is throwing an exception, and child class is not throwning an exception. Will it give any error or give the result?

Viewing 2611 - 2620 interview questions

Glassdoor has 4,198 interview questions and reports from Software developer java interviews. Prepare for your interview. Get hired. Love your job.