1) Data structure used in java like ArrayLIst,LinkedList,Set,Map 2) internal working of hashmap-> interviewer is not aware hashmap improvements, he is like why hashmap is converting in Tree, this is not possible. 3) Diff between ArrayList and LinkedList 4) Diff between Controller and RestController 6) If You are not aware of completablefuture that means you are week in threading. according to interviewer. 7) Interview Asked if sudden in your microservice load is increase how you handle it 8) scenario based Question from project.
Sr Java Developer Interview Questions
5,531 sr java developer interview questions shared by candidates
Comparator vs Comparable difference explanation
Linked list data structure related question
Technical questions from mainly collections, multithreading, design pattern and some data structure questions. spring and hibernate questions
phone screen was basically on app dev. questions on spring annotations @repository, @ service, @controller, @component etc. Maven configuration and build process. Some on java Hashset - what happens if you try to add duplicate does it update or not. onsite interview conducted by 2 people. questions on hashset implementations , sort method impl using comparable. some core java questions like runnable vs callable. write prgm to find the number of pairs of integers in the array whose sum is equal to ‘sum’. sql to write first highest salary.
What are patterns for micro services ? Describe one of the pattern.
Core java and rest api
Practical exercise: Providing data from a 2 URIs, find max selling price for a particular currency . One URI presented a fluctuating data. Data was a JSON representation. Expected: TDD process.
How we can implement concurrency in java?
What is a database transaction?
Viewing 731 - 740 interview questions