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

Ein klassisches Logik-Rätsel: die Flussüberquerung mit Wolf, Ziege und Kohlkopf. Ein Bauer möchte einen Fluss überqueren und hat einen Blumenkohl ein Schaf und einen Wolf bei sich. Alle drei Gegenstände sollen unbehelligt am anderen Ufer ankommen, aber in das Boot passen immer nur einer der Gegenstände und der Bauer, der rundern muss. Solange der Bauer anwesend ist besteht keine Gefahr für das Schaf und den Blumenkopf. Allerdings frisst der Wolf das Schaf und das Schaf den Blumenkopf sobald diese alleine gelassen werden. Wie kommt der Bauer also mit seinen gefräßigen Gütern auf der anderen Uferseite an?
avatar

Java Entwickler

Interviewed at GameDuell

4.1
Jan 19, 2016

Ein klassisches Logik-Rätsel: die Flussüberquerung mit Wolf, Ziege und Kohlkopf. Ein Bauer möchte einen Fluss überqueren und hat einen Blumenkohl ein Schaf und einen Wolf bei sich. Alle drei Gegenstände sollen unbehelligt am anderen Ufer ankommen, aber in das Boot passen immer nur einer der Gegenstände und der Bauer, der rundern muss. Solange der Bauer anwesend ist besteht keine Gefahr für das Schaf und den Blumenkopf. Allerdings frisst der Wolf das Schaf und das Schaf den Blumenkopf sobald diese alleine gelassen werden. Wie kommt der Bauer also mit seinen gefräßigen Gütern auf der anderen Uferseite an?

Write a program for simple ETL(Extraction, Transformation and Loading) Implementation, the output does not matter, your coding approach matter. The scenario is, read file(s) for one directory, perform some transformation on the data and write it to another directory. They emphasize on what you do if the source and destination is changed to something else like SQL DB and you can add more transformations to the program. They want all the component to be independent and some insane design implementation on injecting transformation side.
avatar

Java Lead

Interviewed at Springer Nature

4
Jun 25, 2017

Write a program for simple ETL(Extraction, Transformation and Loading) Implementation, the output does not matter, your coding approach matter. The scenario is, read file(s) for one directory, perform some transformation on the data and write it to another directory. They emphasize on what you do if the source and destination is changed to something else like SQL DB and you can add more transformations to the program. They want all the component to be independent and some insane design implementation on injecting transformation side.

Basic and general things like education, knowledge, awareness . computer science questions, thoughts, likes, dislikes, Software engineering, C language, java language , subjective knowledge, practical knowledge and many general types question which you find in any interview.
avatar

Associate Java Developer

Interviewed at Experis India

3
Oct 27, 2017

Basic and general things like education, knowledge, awareness . computer science questions, thoughts, likes, dislikes, Software engineering, C language, java language , subjective knowledge, practical knowledge and many general types question which you find in any interview.

Viewing 681 - 690 interview questions

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