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?
Senior Developer Java Interview Questions
5,284 senior developer java interview questions shared by candidates
RotateArray Remove duplicates from the sequence
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
They asked about spring, springboot, hibernate and microservices. And how did you implemented them in your projects.
OOPs Concept
What is the functional interface in java
Java Stream API, Funtional Interfaces, SQL queries AWS S3, lambda
Explain about your current project
What's static, final, volatile etc. Some I didn't understand, other was very basic, as for students - eg. how would you sort something
Based on collections in java. MCQ on java basics with programs
Viewing 4551 - 4560 interview questions