Senior Java Developer Interview Questions

5,542 senior java developer interview questions shared by candidates

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?

1st round: Coding problems based on arrays & string. 2nd round: Java, Spring & Database related questions. 3rd round: With founders, they gave me some puzzle and were asking about CI/CD things as company's product was based on these things.
avatar

Senior Java Developer

Interviewed at OpsMx

4
Mar 18, 2023

1st round: Coding problems based on arrays & string. 2nd round: Java, Spring & Database related questions. 3rd round: With founders, they gave me some puzzle and were asking about CI/CD things as company's product was based on these things.

Viewing 3791 - 3800 interview questions

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