Java Software Developer Interview Questions | Glassdoor

Java Software Developer Interview Questions

50

Java software developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Lots of questions about arrays, lists and hashmaps

1 Answer

Focus more on how hashmap works and its applications

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 Answers

why is "".equals(someString); safer than someString.equals("");

1 Answer

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 Service

1 Answer

Open-ended question about a parking lot. It was purposefully vague to see which direction the interviewee took the problem.

1 Answer

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 Answers

General question on data structure, javascript and java.

Are the brackets in the equation balanced. g (3+4)}.... false {(3+6) - (5*7)}...true

1 Answer
110 of 50 Interview Questions