sort array
Software Developer Java Interview Questions
4,195 software developer java interview questions shared by candidates
1. How many oops concept can you apply in single class, 2. How do you manage transactions in microservices, how will you configure 2 database in a single spring boot application 3. SOLID principal 4. stream 5. CRUD controller 6. Design patterns
In this round basics of java 8 like functional interface ,lamda expression, comparable vs comparator.Also I have mentioned about spring boot so they asked few annotations amd why they are used(@respository,@service,etc)
what is your recent project that you have been work explain your project
Q : java 8 features
Technical Questions : 1. Difference between comparator and comparable ? when would we use comparator ? 2. what is a functional interface? 3. what are different type of data structures you use ? 4. using java 8 convert an array of integers to comma seprated string . 5. difference between array list and linked list ? and which is faster for retrieval? 6. can we use classes as keys in has map ? 7. Singleton prototype in thread. 8. Scope in spring boot ? 9 Do you know patch in spring boot ? 10. when will the dependencies be loaded ? at run time or static time ? 11. If I have two classes with same name what happens ? 12. if I use a concurrent hash map how is it thread safe ? 13. what happens if I try to put a same key in hash map twice ? 14.if i have a custom object as key in hash map how is hash value computed ? 15. what is a method and function level locking ? 16. what are functional interfaces ? 17 . does spring boot use eager or lazy loading ? 18. what is Optional class in spring boot ? 19. what is circular dependency in spring boot.
What is the difference between Comparator and Comparable
core java and advanced questions with machine test
They asked me about java Spring boot basic questions and they had given the problems to solved based on string
Create constructor for Abstract class and implement it
Viewing 1031 - 1040 interview questions