Java Developer Interviews

Java Developer Interview Questions

In your interview for a java developer position, be prepared to answer technical questions that test your understanding of Java basics. Interviewers may also ask open-ended questions to assess your coding and problem-solving abilities. Prepare for non-technical questions that focus on time management, interpersonal communication, and work ethic.

Top Java Developer Interview Questions & How to Answer

Question 1

Question #1: What is the difference between HashTable and HashMap in Java?

How to answer
How to answer: Interviewers use technical questions to assess your formal training and understanding of the Java programming language. Use your answer to demonstrate your communication skills. Even if you have been coding for some time, it can be helpful to review Java basics before your interview.
Question 2

Question #2: Write a program to determine if 243 is an Armstrong number.

How to answer
How to answer: Interviewers use open-ended questions to test your coding skills. This question allows the employer to assess your ability to solve a problem using a Java algorithm. Explain your thinking process as you use a code editor or whiteboard to solve the problem.
Question 3

Question #3: How do you produce quality code when you have several Java projects to complete at once?

How to answer
How to answer: Java developers often juggle multiple projects at the same time. Interviewers use questions such as this to test your time management and organizational skills. Employers are also trying to assess your commitment to quality work. If you have experience as a developer, include examples from your work history that demonstrate high-quality work and effective time management.

30,872 java developer interview questions shared by candidates

Had to create a Tree traversal with given classes and interfaces. It's not the usual tree we know of. The code had some interfaces and classes, and I had to implement some parts in order to run in specific travers order.
avatar

Java Technical Architect - Integration

Interviewed at Atlassian

3.2
Dec 12, 2013

Had to create a Tree traversal with given classes and interfaces. It's not the usual tree we know of. The code had some interfaces and classes, and I had to implement some parts in order to run in specific travers order.

Basic SQL, string replace but then the requirement changed if the string has " in the middle, Well I said, of course that changes to the looping process. Then the person asked if the string didn't have a second ". We do you want to pass the string once or move backwards. The code is generic but stop changing the requirements. In the end, I was able to answer all Java questions, some too basic I felt insulted.

Basic SQL, string replace but then the requirement changed if the string has " in the middle, Well I said, of course that changes to the looping process. Then the person asked if the string didn't have a second ". We do you want to pass the string once or move backwards. The code is generic but stop changing the requirements. In the end, I was able to answer all Java questions, some too basic I felt insulted.

Viewing 1381 - 1390 interview questions

Glassdoor has 30,872 interview questions and reports from Java developer interviews. Prepare for your interview. Get hired. Love your job.