Senior Developer Java Interview Questions

5,291 senior developer java interview questions shared by candidates

There're always technical questions related to java. Almost always there's a question about HashMap in java and relation between hashCode and equals. Other standard questions are related to JUnit, TDD, design patterns. Basic knowledge of SQL is also checked. Be careful with Spring and Hibernate. Don't put in CV too much - don't write all acronyms you've ever seen - you'll be asked detailed questions about them.
avatar

Senior Java Developer

Interviewed at Sabre

3.6
Feb 15, 2013

There're always technical questions related to java. Almost always there's a question about HashMap in java and relation between hashCode and equals. Other standard questions are related to JUnit, TDD, design patterns. Basic knowledge of SQL is also checked. Be careful with Spring and Hibernate. Don't put in CV too much - don't write all acronyms you've ever seen - you'll be asked detailed questions about them.

1. What are enhancemets in java8 for memory management. 2. question to sort the employees based on names using java8 3. What is recommended data structure for operations like undo in a word documwnt application? 4. equals & hashcode methods 5. array vs list 6. pom.xml describe 7. Authentication used in your application? 8. self join with some example 9. All frequent used annotations in spring like @Component,@Qualifier, @Repoaitory 10. Question on Rest aps sample code 11. PUT vs PATCH
avatar

Senior Java Developer

Interviewed at OvalEdge

4.1
Mar 24, 2021

1. What are enhancemets in java8 for memory management. 2. question to sort the employees based on names using java8 3. What is recommended data structure for operations like undo in a word documwnt application? 4. equals & hashcode methods 5. array vs list 6. pom.xml describe 7. Authentication used in your application? 8. self join with some example 9. All frequent used annotations in spring like @Component,@Qualifier, @Repoaitory 10. Question on Rest aps sample code 11. PUT vs PATCH

Can you explain the difference between abstraction and encapsulation in Java? How does inheritance work in Java, and what are its advantages and disadvantages? What is the difference between ArrayList and LinkedList? When would you use one over the other? Explain the concept of multithreading in Java and how it differs from multitasking. What are the differences between checked and unchecked exceptions in Java? Provide examples of each. How does Java handle memory management? Explain the role of garbage collection. What is the purpose of the static keyword in Java? How is it used in methods and variables? Can you explain the principles of SOLID design in Java? Give examples of how you would apply them in your code. What is the role of JDBC in Java? How would you connect to a database and execute SQL queries? Describe the difference between HashMap and HashTable in Java. When would you choose one over the other?

Senior Java Developer

Interviewed at Cosmofeed

3.7
Jun 27, 2024

Can you explain the difference between abstraction and encapsulation in Java? How does inheritance work in Java, and what are its advantages and disadvantages? What is the difference between ArrayList and LinkedList? When would you use one over the other? Explain the concept of multithreading in Java and how it differs from multitasking. What are the differences between checked and unchecked exceptions in Java? Provide examples of each. How does Java handle memory management? Explain the role of garbage collection. What is the purpose of the static keyword in Java? How is it used in methods and variables? Can you explain the principles of SOLID design in Java? Give examples of how you would apply them in your code. What is the role of JDBC in Java? How would you connect to a database and execute SQL queries? Describe the difference between HashMap and HashTable in Java. When would you choose one over the other?

Viewing 3611 - 3620 interview questions

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