Software Developer Java Interview Questions | Glassdoor

# Software Developer Java Interview Questions

50

Software developer java interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Software Engineer/Java Developer at BzzAgent was asked...

Dec 17, 2012
 Lots of questions about arrays, lists and hashmaps1 AnswerFocus more on how hashmap works and its applications

### Senior Java Software Developer at Comcast was asked...

Jan 13, 2011
 Open-ended question about a parking lot. It was purposefully vague to see which direction the interviewee took the problem.1 AnswerThere is no right answer since it's all about problem-solving and presentation/discussion skills.

### Java Software Development Intern at Pearson was asked...

Apr 3, 2014
 What is more important: Efficiency or Creativity? Find the most efficient way to use a balance to find the heavier ball amongst the 9 balls where the other 8 balls are of equal weight.2 AnswersRandomly pick two groups of 3 balls, put each group on one side of the balance. Choose the heavier group, if the two groups are equally heavy then choose the remaining group of 3 balls. Randomly pick two balls, put them on two sides and find the heavier one. If two balls are equally heavy, then the third ball of that group is the heavier ball.Keep 1 ball aside. Weight 4 ball against other balls. If the groups of 4 are equal, then 1 ball kept aside is heavier. This way in some cases, we can find heavy ball in first round. If not, select heavier group and weigh 2 balls against other two balls. Again select the heavier group and weigh 1 ball against another 1 ball and we get the heaviest ball in 3 rounds.

### Java Software Developer at Amazon was asked...

Jan 25, 2014
 Technical Question: Given the following list of integers, how would you sort it the most efficiently and weed out duplicates at the same time?2 AnswersSuppose we don't have memory limit, use an Boolean array set corresponding position to true. Then iterate the array.I will add all the given integers to a tree set(which won't accept duplicates and sort the list by adding to it) and prints it ..

### Java Software Developer at Glory Global Solutions was asked...

Jan 20, 2014
 why is "".equals(someString); safer than someString.equals("");1 AnswersomeString has a possibility of not being initialized

### Java Software Development Engineer In Test at Slalom was asked...

Sep 17, 2013
 The questions I was asked are as follows :- 1. Difference between pass by value and pass by reference 2. Finding the largest number in an array 3. How would you test a Lamp ? 5. How would you test a Twitter application ? 6. Find a missing number in an array of sorted numbers. 7. What are primitive types and non primitives types. 8. How would you test a Restful Web Service1 AnswerThe answers to the questions are fairly simple.

### Software Engineer (Java Developer) at Valiantica was asked...

Nov 20, 2016
 What is Spring?1 AnswerWhen the trees and flower starts blooming.

### Software Engineer (Java Developer) at Valiantica was asked...

Nov 20, 2016
 What is inheritance?Be the first to answer this question

### Software Engineer (Java Developer) at Valiantica was asked...

Nov 20, 2016
 Introduce yourselfBe the first to answer this question

### Java Software Developer/Software Engineer at BlackRock was asked...

Apr 18, 2016
 Are the brackets in the equation balanced. g (3+4)}.... false {(3+6) - (5*7)}...true1 AnswerI used stack.
110 of 50 Interview Questions

More