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,885 java developer interview questions shared by candidates

Puzzle - You have a 3 and a 5 litre water container, each container has no markings except for that which gives you it's total volume. You also have a running tap. You must use the containers and the tap in such away as to exactly measure out 4 litres of water. How is this done?
avatar

Java Developer

Interviewed at Concerto Software

3.7
Feb 9, 2020

Puzzle - You have a 3 and a 5 litre water container, each container has no markings except for that which gives you it's total volume. You also have a running tap. You must use the containers and the tap in such away as to exactly measure out 4 litres of water. How is this done?

Technical Telephonic: CORE JAVA that's it On site: 1st round - Right code on reversing a string without using buffer and design an animal kingdom using all the oops concept with data structures implementation(collections). 2nd round - Behavioral(non technical) and they will see your frustration level 3rd round - Salary expectations and benefits 4th round - questions on frameworks and analytical reasoning.
avatar

Java Engineer I

Interviewed at Audacious Inquiry

4.5
Aug 27, 2015

Technical Telephonic: CORE JAVA that's it On site: 1st round - Right code on reversing a string without using buffer and design an animal kingdom using all the oops concept with data structures implementation(collections). 2nd round - Behavioral(non technical) and they will see your frustration level 3rd round - Salary expectations and benefits 4th round - questions on frameworks and analytical reasoning.

Viewing 1741 - 1750 interview questions

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