Software Developer Java Interview Questions

4,203 software developer java interview questions shared by candidates

multithread concepts, comparable and comparator differences, bean lifecycle, how to make a class immutable, where do you define servlet, which is the starting point for a spring framework. explain MVC framework.hashcode.equals functionality. how hashmap stores work internally.
avatar

Java Software Engineer

Interviewed at Deloitte

3.8
Mar 28, 2018

multithread concepts, comparable and comparator differences, bean lifecycle, how to make a class immutable, where do you define servlet, which is the starting point for a spring framework. explain MVC framework.hashcode.equals functionality. how hashmap stores work internally.

1 round Medium: Theory + coding. [stream concept , Maven based qns like maven lifecycle, scope of spring, design pattern, Touch all collection concept like [Hashmap, ConcurrentMap, LinkedHashmap, Vector, List]], Stream coding part [count occerance of word]. 2 nd Round [More depth of java and springboot and also javascript as I mention in resume], Memory Management, exception Handling, try with multiple catch block, Transaction, Isolation, propagation. Coding I am not remember because I am not even understood the qns well and due to that I was blank in interview and mostly that I rejected.
avatar

Software Engineer - Java Developer

Interviewed at EPAM Systems

4
Dec 17, 2025

1 round Medium: Theory + coding. [stream concept , Maven based qns like maven lifecycle, scope of spring, design pattern, Touch all collection concept like [Hashmap, ConcurrentMap, LinkedHashmap, Vector, List]], Stream coding part [count occerance of word]. 2 nd Round [More depth of java and springboot and also javascript as I mention in resume], Memory Management, exception Handling, try with multiple catch block, Transaction, Isolation, propagation. Coding I am not remember because I am not even understood the qns well and due to that I was blank in interview and mostly that I rejected.

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"));
avatar

Senior Java Software Engineer

Interviewed at EPAM Systems

4
Jul 7, 2023

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"));

In the pen-and-paper round, all candidates were given the same problem statement. I am not entirely certain if this was the exact wording, but the core requirement was to design a system using abstraction and inheritance principles. Specifically, I had to create an abstract class named Hospital, define abstract methods such as getDescription(), and declare the required variables. Then, I needed to create a Person class with a string variable name, extend it into a Patient class, and override the getDescription() method. Additionally, I was asked to implement simple logic such as retrieving the next patient based on priority. The focus of the question was mainly on understanding abstraction, method overriding, class hierarchy, and applying basic low-level design concepts rather than solving a pure data structures problem.
avatar

Junior Java Software Developer

Interviewed at EPAM Systems

4
Feb 19, 2026

In the pen-and-paper round, all candidates were given the same problem statement. I am not entirely certain if this was the exact wording, but the core requirement was to design a system using abstraction and inheritance principles. Specifically, I had to create an abstract class named Hospital, define abstract methods such as getDescription(), and declare the required variables. Then, I needed to create a Person class with a string variable name, extend it into a Patient class, and override the getDescription() method. Additionally, I was asked to implement simple logic such as retrieving the next patient based on priority. The focus of the question was mainly on understanding abstraction, method overriding, class hierarchy, and applying basic low-level design concepts rather than solving a pure data structures problem.

Viewing 4121 - 4130 interview questions

Glassdoor has 4,203 interview questions and reports from Software developer java interviews. Prepare for your interview. Get hired. Love your job.