Senior Java Engineer Interview Questions

5,792 senior java engineer interview questions shared by candidates

Hiring Manager Interview: The interview focused largely on soft skills and engineering practices, including topics such as the difference between an engineer and a developer, giving and receiving feedback, testing strategies (e.g., the test pyramid), and approaches to code reviews. Coding Challenge: The experience during the coding challenge varied significantly depending on the interviewer (mine was absolutely terrible). The discussion covered topics such as the Dockerfile, dependency/version choices in the pom.xml, log and debug console output, and design decisions. In some cases, I was also questioned about features that were not part of the original challenge requirements.
avatar

Senior Backend Engineer-Java

Interviewed at Redcare Pharmacy

3.7
Feb 10, 2026

Hiring Manager Interview: The interview focused largely on soft skills and engineering practices, including topics such as the difference between an engineer and a developer, giving and receiving feedback, testing strategies (e.g., the test pyramid), and approaches to code reviews. Coding Challenge: The experience during the coding challenge varied significantly depending on the interviewer (mine was absolutely terrible). The discussion covered topics such as the Dockerfile, dependency/version choices in the pom.xml, log and debug console output, and design decisions. In some cases, I was also questioned about features that were not part of the original challenge requirements.

Question 1: Given two sorted arrays, the task is to merge them in a sorted manner. Input: arr1[] = { 1, 3, 4, 5}, arr2[] = {2, 4, 6, 8} Output: arr3[] = {1, 2, 3, 4, 4, 5, 6, 8} Input: arr1[] = { 5, 8, 9}, arr2[] = {4, 7, 8} Output: arr3[] = {4, 5, 7, 8, 8, 9} Question 2 : Object[] array = { 1, 2, new Object[]{ 3, 4, new Object[]{ 5 }, 6, 7 }, 8, 9, 10, new Object[]{ 11,12} }; Integer[] flattenedArray = flatten(array); complete flatten array function to get the output array as [1,2,3,4,5,6,7,8,9]
avatar

Senior Java Developer

Interviewed at Wissen Infotech

3.8
Jan 9, 2025

Question 1: Given two sorted arrays, the task is to merge them in a sorted manner. Input: arr1[] = { 1, 3, 4, 5}, arr2[] = {2, 4, 6, 8} Output: arr3[] = {1, 2, 3, 4, 4, 5, 6, 8} Input: arr1[] = { 5, 8, 9}, arr2[] = {4, 7, 8} Output: arr3[] = {4, 5, 7, 8, 8, 9} Question 2 : Object[] array = { 1, 2, new Object[]{ 3, 4, new Object[]{ 5 }, 6, 7 }, 8, 9, 10, new Object[]{ 11,12} }; Integer[] flattenedArray = flatten(array); complete flatten array function to get the output array as [1,2,3,4,5,6,7,8,9]

Viewing 4541 - 4550 interview questions

Glassdoor has 5,792 interview questions and reports from Senior java engineer interviews. Prepare for your interview. Get hired. Love your job.