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

Q11) 2 puzzles - 1) If you have three boxes with wrong labels RG, R and G, each having balls and you draw a ball from RG, what are the correct labels 2) You have a gold biscuit. You need to divide it in such a way that you can give 1 piece each everyday to someone, what will be the minimum cuts that you will divide it into.
avatar

Java Developer

Interviewed at IHS Markit

3.7
Dec 3, 2019

Q11) 2 puzzles - 1) If you have three boxes with wrong labels RG, R and G, each having balls and you draw a ball from RG, what are the correct labels 2) You have a gold biscuit. You need to divide it in such a way that you can give 1 piece each everyday to someone, what will be the minimum cuts that you will divide it into.

La primera entrevista fueron preguntas para conocerme y explicarme qué es garaje y en general un primer contacto. La segunda también fue un poco presentación pero ya contando qué me gustaba más en el mundo de la programación (en mi caso front al haber estudiado diseño gráfico) y un poco dónde podría encajar dentro de la empresa. En la tercera también me presenté pero esta vez además de dar mis preferencias a la hora de programar también me comentó Rubén que entraría a su equipo de trabajo y que fuese una persona proactiva, que hiciese preguntas y que así iría mejorando.
avatar

Java Developer

Interviewed at Garaje de Ideas

4.5
Apr 16, 2024

La primera entrevista fueron preguntas para conocerme y explicarme qué es garaje y en general un primer contacto. La segunda también fue un poco presentación pero ya contando qué me gustaba más en el mundo de la programación (en mi caso front al haber estudiado diseño gráfico) y un poco dónde podría encajar dentro de la empresa. En la tercera también me presenté pero esta vez además de dar mis preferencias a la hora de programar también me comentó Rubén que entraría a su equipo de trabajo y que fuese una persona proactiva, que hiciese preguntas y que así iría mejorando.

Given a list of inputs for player injuries and duration over a 17 week period, merge those injuries together and output list of all ranges of weeks that player was injured. EXAMPLE: In: [[1,4],[2,6],[15,17]] Out: [[1,6],[15,17]]
avatar

Software Engineer() - Java/Python

Interviewed at FanDuel

3.7
Feb 4, 2021

Given a list of inputs for player injuries and duration over a 17 week period, merge those injuries together and output list of all ranges of weeks that player was injured. EXAMPLE: In: [[1,4],[2,6],[15,17]] Out: [[1,6],[15,17]]

Viewing 3391 - 3400 interview questions

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