Senior Developer Java Interview Questions

5,284 senior developer java interview questions shared by candidates

2nd Round: Q1. Find the count of employees in the same department using Stream API. Q2. Longest substring of distinct characters input1: abcabcbb output1: abc input2: abcabcd output2: abcd input3: abcadbcd output2: bcad Q3. What is ThreadPool? Q4. How to enable security for APIs in spring boot? Q5. How to pass files in Rest API of a spring boot application? Q6. How to give customized HttpStatus code in spring boot Rest API? Q7. What is the use of @Async annotation in spring boot? Q8. Explain internal implementation of HashMap. Q9. Can we use a mutable object as a key of a HashMap? Q10. Explain String pool and string object creation. Q11. When will we use API vs Message Queue? Q12. How to pass a value from parent to child component in Angular?
avatar

Senior Java Developer

Interviewed at OpSec Security Group

2.6
Mar 11, 2025

2nd Round: Q1. Find the count of employees in the same department using Stream API. Q2. Longest substring of distinct characters input1: abcabcbb output1: abc input2: abcabcd output2: abcd input3: abcadbcd output2: bcad Q3. What is ThreadPool? Q4. How to enable security for APIs in spring boot? Q5. How to pass files in Rest API of a spring boot application? Q6. How to give customized HttpStatus code in spring boot Rest API? Q7. What is the use of @Async annotation in spring boot? Q8. Explain internal implementation of HashMap. Q9. Can we use a mutable object as a key of a HashMap? Q10. Explain String pool and string object creation. Q11. When will we use API vs Message Queue? Q12. How to pass a value from parent to child component in Angular?

L1: 1.static binding vs dynamic binding 2.write singleton class 3. If we have list in singleton class how we avoid accessing it outside the class. 4. how to make singleton synchronized 5.java 8 - functional interface and stream API 6. write a program in java 8 max sal of employee 7.@variable & @modifier in JPA 8. why we use marker interface 9. how spring security works, authentication vs authorization 10. what is serialization? why we use is 11. what is transient 12. what is marker interface 13.internal implementation of hashset. L2: 1.aggregation in mongodb 2. mongodb groupby query 3. JPA integration with mongodb 4.microservice architecture 5. kafka producer consumer problem 6. project description. 7. agile methodology 8. Project build related question. 9 . Development process related questions

Senior Software Developer (Java)

Interviewed at NeoSoft

3.5
Sep 24, 2023

L1: 1.static binding vs dynamic binding 2.write singleton class 3. If we have list in singleton class how we avoid accessing it outside the class. 4. how to make singleton synchronized 5.java 8 - functional interface and stream API 6. write a program in java 8 max sal of employee 7.@variable & @modifier in JPA 8. why we use marker interface 9. how spring security works, authentication vs authorization 10. what is serialization? why we use is 11. what is transient 12. what is marker interface 13.internal implementation of hashset. L2: 1.aggregation in mongodb 2. mongodb groupby query 3. JPA integration with mongodb 4.microservice architecture 5. kafka producer consumer problem 6. project description. 7. agile methodology 8. Project build related question. 9 . Development process related questions

Viewing 4551 - 4560 interview questions

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