what is generic in java, what is streams?
Senior Java Engineer Interview Questions
609 senior java engineer interview questions shared by candidates
None what I am allowed to disclose.
Distributed Candies and another geo location algorithms
1. Explain Collection framework in Java? 2. Java 8 Features 3. Sorting array elements ( Based on Comparator & Comparable) 4. OOP Concepts 5. Array List vs Linked List 6. Sort map by value 7. Internal Working of HashMap 8. Serialization 9. map() vs flatmap() 10. Add elements of List of List using Steam API 11. IOC & Depenedncy Injection 12. What is profiles and actuators in Spring Boot? 13. @Controller vs @RestController 14. @Bean vs @Component 15. Explain Auto configuration and Dependency management feature in Spring Boot 16. Get nth highest salary from employee table
1) Java 11, 17, and 21 features. 2) What is the use of Optional? 3) What are intermediate and terminal operations? 4) In an interface, what is the purpose of default and static methods? 5) What is the Builder pattern? 6) How do you create an immutable class? 7) How do you share requests from one microservice to another? 8) Write a program to find the 2nd largest numbers in an unsorted array without using an inbuilt sort function. 9) How can we restrict a list from being modified? 10) What is transient? 11) What is volatile? 12) put vs patch ?
Code : reverse the linkedlist & print it.
explain Lifecycle of a servlet?
explain how constructor chaining works?
1. TCP vs other protocols 2. Garbage Collection algorithms 3. Dependency Injection vs Inversion of Control 4. Java 8 vs Java 21/25 5. Heap and CPU cache 6. volatile keyword
Question: Count the email domains List employees = new ArrayList<>(); employees.add(new Employee("A", "A@google.com")); employees.add(new Employee("b", "b@gmail.com")); employees.add(new Employee("C", "C@google.com")); employees.add(new Employee("D", "D@yahoo.com"));
Viewing 581 - 590 interview questions