Java 8 stream API..java exceptions..data structures..microservices..springboot
Java Senior Interview Questions
6,013 java senior interview questions shared by candidates
Tell me about yourself. Past projects
depending on panel mood. if Junior resources then will be asking on google based.
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
they covered all the topics and internal implementation
What types of GC do you know? Draw the chart with main GC performance attributes and place these GC's on the chart.
Hashmap working
How u used oops concept in ur project
L-1: Top10Employees list using Java 8 streams. Salary > 50000/- using Java 8 streams Salary > 50000/- and age < 40 (DOB) using Java 8 streams {1,2,3,4,5} sum = 6 Output {1,5} {2,4} using loops Questions: Java8 streams Functional interfaces HashMap internally working Red black tree @SpringBoot Application What happens without giving to the query params in @put method Schedulers CB pattern Uses of Kafka L-2: Spring boot & Microservices architect How to communicate Micro services How to call external APIs
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 ?
Viewing 5911 - 5920 interview questions