Java Senior Interview Questions

6,013 java senior interview questions shared by candidates

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

1. How does Hashmap works internally. 1.2. Hasmap vs Hashtable vs SynchronizedHashmap 2. How to reverse array 3. What is synchronized keyword? and lot many questions followed it up. 4. Exceptions (Specially hierarchy related) 5. Spring Basics 6. Spring annotations 7. Hibernate Basics And Yes In MR round the interviewer may like to test your basic logic. He asked me to solve a puzzle like: How to get 2L water from using a 5L and 3L Bucket. and similarly 4L water.
avatar

Senior Java Developer

Interviewed at Persistent Systems

4.1
Dec 9, 2015

1. How does Hashmap works internally. 1.2. Hasmap vs Hashtable vs SynchronizedHashmap 2. How to reverse array 3. What is synchronized keyword? and lot many questions followed it up. 4. Exceptions (Specially hierarchy related) 5. Spring Basics 6. Spring annotations 7. Hibernate Basics And Yes In MR round the interviewer may like to test your basic logic. He asked me to solve a puzzle like: How to get 2L water from using a 5L and 3L Bucket. and similarly 4L water.

Viewing 5961 - 5970 interview questions

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