Senior Developer Java Interview Questions

5,296 senior developer java interview questions shared by candidates

What annotations have you used with SpringSecurity? What is @SpringBootApplication? What is @EnableAutoconfiguration What is @Component What is bean scope? How do you make a bean Singleton? What is lazy and eager initialization in singleton? What is double checked singleton? Why use double check? What is volatile keyword? What is chaining in Java 8? Given a string, print first non repetitive character using Java 8. Given a list of integers. Print non duplicate values using Java 8. How do you make system fault tolerant in micro services? What is fallback mechanism if service 1 is calling service 2 and service 2 is down. Kafka command to create, consume and product topic? What is synchronized hashmap? What is thread pooling? There is 50 tasks, we do not want to create 50 threads to do them. How to proceed? How to do memory management in java? What memory areas are available? new String vs string literal Static variables go in stack or on heap? Equals and hashcode method contract in HashMap?
avatar

Senior Java Developer

Interviewed at OpenText

3.2
Mar 30, 2023

What annotations have you used with SpringSecurity? What is @SpringBootApplication? What is @EnableAutoconfiguration What is @Component What is bean scope? How do you make a bean Singleton? What is lazy and eager initialization in singleton? What is double checked singleton? Why use double check? What is volatile keyword? What is chaining in Java 8? Given a string, print first non repetitive character using Java 8. Given a list of integers. Print non duplicate values using Java 8. How do you make system fault tolerant in micro services? What is fallback mechanism if service 1 is calling service 2 and service 2 is down. Kafka command to create, consume and product topic? What is synchronized hashmap? What is thread pooling? There is 50 tasks, we do not want to create 50 threads to do them. How to proceed? How to do memory management in java? What memory areas are available? new String vs string literal Static variables go in stack or on heap? Equals and hashcode method contract in HashMap?

Codding Assessment: 4 MCQs on Polymorphism, OOPs concept. 2 Coding question on DSA, DP. 1 SQL query to write based on two given table- use of Having, GROUP concepts. R1 Technical interview: 2 coding problem- 1 was to split the array based on given size. For eg: If array consists of [1,2,3,4,5,6,7,8,9] and splitSize is 3, then split into 4 different sets such that output is: [1,2,3], [4,5,6], [7,8,9] and [9]. 2nd question was to implement Deck of Cards. Both these problems the interviewer expected to be completed in 1 hour.
avatar

Senior Java Developer

Interviewed at Wissen

3.9
May 23, 2023

Codding Assessment: 4 MCQs on Polymorphism, OOPs concept. 2 Coding question on DSA, DP. 1 SQL query to write based on two given table- use of Having, GROUP concepts. R1 Technical interview: 2 coding problem- 1 was to split the array based on given size. For eg: If array consists of [1,2,3,4,5,6,7,8,9] and splitSize is 3, then split into 4 different sets such that output is: [1,2,3], [4,5,6], [7,8,9] and [9]. 2nd question was to implement Deck of Cards. Both these problems the interviewer expected to be completed in 1 hour.

Viewing 3011 - 3020 interview questions

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