Java Spring Interview Questions

125 java spring interview questions shared by candidates

Test Questions: 1. Sum TotalSpeed given data is degree and speed according every degree and it can solve by MAP with respected key(Degree) and value(Speed). 2. Remove Special Character and also number and also every first char is capital Input -> String[] words = {"hello!", "world@", "java#", "programming$", "is^fun"}; Output -> {Hello, World, Java, Programming, is, Fun} 3. sort the array and shift the all zeros in last. 4. Adjust Array means array given and you have to tell the highest number of array and adjust those less number then highest number in way that if we sum answerer should be highest number Adjusted Array: 3 6 0 0 9 4 5 Before Sum: 9, After Sum: 9 5. write the program for the loan management like 4000 loan fixed amount is 10%(400) and with 3% interest and remaining balance like second month 3600 interest will charged on that amount. ------------------------------------------------------------------- In interview they will asked LeetCode questions, at least first 50 questions of easy and hard. -> Unbalanced/ Balanced bracket ()}, {()} -> Remove duplicates from array (Two Pointer) -> Reverse whole statement not character -> Middle element of the linked List and data is in singly linked List

Test Questions: 1. Sum TotalSpeed given data is degree and speed according every degree and it can solve by MAP with respected key(Degree) and value(Speed). 2. Remove Special Character and also number and also every first char is capital Input -> String[] words = {"hello!", "world@", "java#", "programming$", "is^fun"}; Output -> {Hello, World, Java, Programming, is, Fun} 3. sort the array and shift the all zeros in last. 4. Adjust Array means array given and you have to tell the highest number of array and adjust those less number then highest number in way that if we sum answerer should be highest number Adjusted Array: 3 6 0 0 9 4 5 Before Sum: 9, After Sum: 9 5. write the program for the loan management like 4000 loan fixed amount is 10%(400) and with 3% interest and remaining balance like second month 3600 interest will charged on that amount. ------------------------------------------------------------------- In interview they will asked LeetCode questions, at least first 50 questions of easy and hard. -> Unbalanced/ Balanced bracket ()}, {()} -> Remove duplicates from array (Two Pointer) -> Reverse whole statement not character -> Middle element of the linked List and data is in singly linked List

Viewing 31 - 40 interview questions

Glassdoor has 125 interview questions and reports from Java spring interviews. Prepare for your interview. Get hired. Love your job.