Software Engineer Software Developer Interview Questions

3,278 software engineer software developer interview questions shared by candidates

- Diff between StringBuffer and Builder - Answered - Immutability means? - Answered - gave me a code to check string in. paragraph - i did solve but in long way - there was a one liner. -Does HashMap have null key and what is the index - I answered but fumbled with the second part of question - i knew it was 0 - Default size of Hashmap - did not know at the time -one more code with arrraylist - i explained my logic did not write code as i thought thats what they are looking for the approach arraylist with random numbers - return a list which will have smalled number in zeroth index and max number in last index and the rest of the number sequence remains unchanged - used pointer approach and explained and it works - i came home and solved it as well. - Springboot: Bean scope - singleton - how to change - using @Scope annotation - which annotation to use when you want to make yur id o be unique in entity - @Id @GeneratedValue(Indentity) - this is what i answered - but he was not convinced. - http calls get, put, post, delete, patch diff between put and patch - what does 201 status code mean - i said success with but could not answer this - i checked success with creation of new resource 400 error - error from client what specific - he expected me to say bad request maybe i said the above line - 401 - unauthorized 404 - not found -difference between delete and truncate - answered with examples - and rollback difference possible in delete but not truncate.
avatar

Software Engineer - Java Developer

Interviewed at Reserve Bank Information Technology

3.5
Oct 25, 2025

- Diff between StringBuffer and Builder - Answered - Immutability means? - Answered - gave me a code to check string in. paragraph - i did solve but in long way - there was a one liner. -Does HashMap have null key and what is the index - I answered but fumbled with the second part of question - i knew it was 0 - Default size of Hashmap - did not know at the time -one more code with arrraylist - i explained my logic did not write code as i thought thats what they are looking for the approach arraylist with random numbers - return a list which will have smalled number in zeroth index and max number in last index and the rest of the number sequence remains unchanged - used pointer approach and explained and it works - i came home and solved it as well. - Springboot: Bean scope - singleton - how to change - using @Scope annotation - which annotation to use when you want to make yur id o be unique in entity - @Id @GeneratedValue(Indentity) - this is what i answered - but he was not convinced. - http calls get, put, post, delete, patch diff between put and patch - what does 201 status code mean - i said success with but could not answer this - i checked success with creation of new resource 400 error - error from client what specific - he expected me to say bad request maybe i said the above line - 401 - unauthorized 404 - not found -difference between delete and truncate - answered with examples - and rollback difference possible in delete but not truncate.

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.6
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 2051 - 2060 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 3,278 interview questions and reports from Software engineer software developer interviews. Prepare for your interview. Get hired. Love your job.