Mostly the coding questions were asked - constructor overloading, Spring data pool, exception handling, find second smallest number in array without using sort & multiple conditional loops. DI, Annotations based.
Senior Software Engineer Java Developer Interview Questions
251 senior software engineer java developer interview questions shared by candidates
Leadership. Google looks for a particular type of leadership called “emergent leadership.” You'll typically be working in cross-functional teams at Google, and different team members are expected to step up and lead at different times in the lifecycle of a project when their skills are needed. Googleyness (i.e. culture fit). The company wants to make sure Google is the right environment for you. Your interviewer will check whether you naturally exhibit the company's values including: being comfortable with ambiguity, having a bias to action, and a collaborative nature.
Basic questions where you're supposed to predict output of programs
Basic core java questions. Spring Boot questions. Try with resources Multiple databases on Spring Boot SQL joins queries
Eager and Lazy loading concept andprovide implementation code. Gave one scenario and asked to explain what will happen if we use eager and lazy loading in that code
Exception super class name ? & error vs exception ?
Brief explanation of previous projects and work experience Questions on arrays, binary search tree, strings, hash map
Array list functionality implementation in array. Write each method code.
What are the various methods of object class
1st Technical Round: 1. Method overriding rules? 2. Output? • //classes will compile fine bcos both r throwing run time exceptions • class TestOverride { • void solution() throws NullPointerException { • System.out.println("super"); • } • } • • class TestSubOverride extends TestOverride { • void solution() throws RuntimeException { • System.out.println("sub"); • } • } 2. Given array {4,5,6,1,2,4}; how do u search particular element ex:1? Ans: he was looking for best search algorithm – ans is binary search algorithm 3. Consider I have huge data which is stored randomly, which data structure is best for retrieval with performance of O(1)? Ans: Hashmap bcos of performance O(1) always 4. Write a code to delete a node from LinkedList 5. Write a simple code for Threading. 6. What is difference between callable and Runnable? 7. What is functional interface? 8. Why functional interface should have only one abstract method why not more than one? 9. When we use lamda expressions? 10. What is difference between IOC and dependency injection? 11. Why do we need dependency injection? 12. Scopes of bean in spring? 2nd Technical Round: 1. Why Java is so popular? In depth answer 2. Given Name, write code to print all combinations using that. 3. Given array, {1,2,3,4,5,6,7,8} and {4,1,2,5,1,2,3,4,5,6,7,8}, at any given position how do you find out array is sorted or not. (Circular sorting)
Viewing 101 - 110 interview questions