Software Engineer Senior Java Developer Interview Questions

1,895 software engineer senior java developer interview questions shared by candidates

Interview experience with #vmware for MTS - Developer - Java, Springboot(applied using referral on LinkedIn) Round 1 : class Job { int cpuUsage; int duration; int startTime; } public boolean isJobsValid(Job[] jobs, int cpuCapacity) { //should return false if at any point of time total cpuUsage (sum of cpu usages of multiple jobs happening at same time) is greater than cpuCapacity. } Search in a rotated and sorted array Round 2: Java - hashmap workings -> treemap stack -> get max, push pop
avatar

Software Engineer - Java Developer

Interviewed at VMware

4.4
Jun 10, 2021

Interview experience with #vmware for MTS - Developer - Java, Springboot(applied using referral on LinkedIn) Round 1 : class Job { int cpuUsage; int duration; int startTime; } public boolean isJobsValid(Job[] jobs, int cpuCapacity) { //should return false if at any point of time total cpuUsage (sum of cpu usages of multiple jobs happening at same time) is greater than cpuCapacity. } Search in a rotated and sorted array Round 2: Java - hashmap workings -> treemap stack -> get max, push pop

1. Questions on java collections and algorithms complexity 2. Based on certain requirements propose design strategy of the problem. They wanted to see if i could find design pattern that I could propose for the given task(the pattern in question was decorator pattern)
avatar

Software Engineer - Java Developer

Interviewed at VMware

4.4
Aug 2, 2019

1. Questions on java collections and algorithms complexity 2. Based on certain requirements propose design strategy of the problem. They wanted to see if i could find design pattern that I could propose for the given task(the pattern in question was decorator pattern)

2 to 3 rounds 1. Java based questions Basics on OOPs, multithreading, exceptions and design patterns 2. Problem solving and system design based on role Difficulty level is not too much, but preparation is required
avatar

Software Engineer - Java Developer

Interviewed at Morgan Stanley

3.9
Sep 23, 2023

2 to 3 rounds 1. Java based questions Basics on OOPs, multithreading, exceptions and design patterns 2. Problem solving and system design based on role Difficulty level is not too much, but preparation is required

They asked questions on Java cocepts like : OOPS, Multithreading, Collections. They will show you code snippet, you have to tell the output and with that you will have to discuss the above topic in depth with interviewer. They will usually ask edge cases. Ex: What if we implement 2 interfaces having same name and same signature for a default method. How to solve this problem. Ex2: Why we can create constructor in abstract class but we cannot initialize it. Why java introduced this? Ex:3 What if we override equals method and hashcode method. What if we are returning same value from hashcode method and always returning false from equals method. Ex: 4 If in a class having two different methods with two synchronized blocks and two threads are accessing different methods, What will happen? who will wait?
avatar

Software Engineer - Java Developer

Interviewed at Morgan Stanley

3.9
Mar 31, 2022

They asked questions on Java cocepts like : OOPS, Multithreading, Collections. They will show you code snippet, you have to tell the output and with that you will have to discuss the above topic in depth with interviewer. They will usually ask edge cases. Ex: What if we implement 2 interfaces having same name and same signature for a default method. How to solve this problem. Ex2: Why we can create constructor in abstract class but we cannot initialize it. Why java introduced this? Ex:3 What if we override equals method and hashcode method. What if we are returning same value from hashcode method and always returning false from equals method. Ex: 4 If in a class having two different methods with two synchronized blocks and two threads are accessing different methods, What will happen? who will wait?

Coding questions: 1. Create a password from a string based on Prime indices. 2. Sum of digits of a number & throw a custom exception if it's a even number. 3. Sort employee objects based on employee ID. Other questions on basic java
avatar

Software Engineer - Java Developer

Interviewed at SpectraMedix

4.2
Mar 28, 2025

Coding questions: 1. Create a password from a string based on Prime indices. 2. Sum of digits of a number & throw a custom exception if it's a even number. 3. Sort employee objects based on employee ID. Other questions on basic java

Viewing 661 - 670 interview questions

Glassdoor has 1,895 interview questions and reports from Software engineer senior java developer interviews. Prepare for your interview. Get hired. Love your job.