Java Senior Interview Questions

6,017 java senior interview questions shared by candidates

Attended 6 rounds. Java 8, Spring Boot, Microservices along with design patterns. These are the main area of focus in interviews. And mainly they will expect to write a program using java streams. So we should be good at Java 8 stream api's.
avatar

Senior Java Developer

Interviewed at Altimetrik

3.9
Mar 18, 2025

Attended 6 rounds. Java 8, Spring Boot, Microservices along with design patterns. These are the main area of focus in interviews. And mainly they will expect to write a program using java streams. So we should be good at Java 8 stream api's.

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
avatar

Senior Software Engineer - Java

Interviewed at Hughes Systique

4
May 9, 2023

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

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
avatar

Senior Java Developer

Interviewed at Deloitte

3.8
May 25, 2026

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

Viewing 5851 - 5860 interview questions

Glassdoor has 6,017 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.