Software Engineer Java Interview Questions

4,184 software engineer java interview questions shared by candidates

public class Person { Person father; Person mother; Gender gender; Integer age; List<Person> children; int level = 0; public enum Gender { Male, Female; } } For the above class, you basically have to implement 2 methods. public List<Person> getOldestSisters() public List<Person> getGreatestAncestors()
avatar

Senior Software Engineer, Java Back End

Interviewed at Veeva Systems

3.5
Aug 19, 2015

public class Person { Person father; Person mother; Gender gender; Integer age; List<Person> children; int level = 0; public enum Gender { Male, Female; } } For the above class, you basically have to implement 2 methods. public List<Person> getOldestSisters() public List<Person> getGreatestAncestors()

The recruiter did an initial technical screening on the phone. The questions were multi choice type. He read the questions and then read the choices. There were about 10 questions. Pretty basic.A day later I was scheduled for the first round of phone interview which was an hour long technical assessment. The questions were simple. At the end of this interview I was asked to code a solution for a simple problem. There was a screen share so that the interviewer could look at my screen. A day later I got a call saying they'd want to schedule an on-site. I wasnot given the details as to how many rounds of interview to expect. I wasnot not even given a schedule that listed how long the individual interviews would go for. Was just told the interview would take 2-3 hours. A day before the interview I received an e-mail saying the interview time was pre-poned by like 2 hours. It was very unprofessional to inform me of pre-poning a day before. I had to take the day off at work. I had 2 rounds of interview on-site. For both the rounds there were 2 interviewers. The first round was just a resume walk through and a few behavioural questions. the second interview consisted of 2 parts 1. cognitive interview. 2. root cause analysis type. For the cognitive part, the interviewers would give you a question( like how many ice-creams are sold in US each year) and would want to see your approach for it. for the second part, they'd give you a problem and expect you to come up with the root cause for it.
avatar

Software Engineer-java

Interviewed at American Express

4.1
Jan 6, 2014

The recruiter did an initial technical screening on the phone. The questions were multi choice type. He read the questions and then read the choices. There were about 10 questions. Pretty basic.A day later I was scheduled for the first round of phone interview which was an hour long technical assessment. The questions were simple. At the end of this interview I was asked to code a solution for a simple problem. There was a screen share so that the interviewer could look at my screen. A day later I got a call saying they'd want to schedule an on-site. I wasnot given the details as to how many rounds of interview to expect. I wasnot not even given a schedule that listed how long the individual interviews would go for. Was just told the interview would take 2-3 hours. A day before the interview I received an e-mail saying the interview time was pre-poned by like 2 hours. It was very unprofessional to inform me of pre-poning a day before. I had to take the day off at work. I had 2 rounds of interview on-site. For both the rounds there were 2 interviewers. The first round was just a resume walk through and a few behavioural questions. the second interview consisted of 2 parts 1. cognitive interview. 2. root cause analysis type. For the cognitive part, the interviewers would give you a question( like how many ice-creams are sold in US each year) and would want to see your approach for it. for the second part, they'd give you a problem and expect you to come up with the root cause for it.

Viewing 1 - 10 interview questions

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