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

The Merit Trac test software is not at all ready for use. The questions are not displayed correctly and many questions were just without any answers. The question layout is messed up and code sniplet mentioned in single line, so its impossible to answer line which contains error.
avatar

Senior Software Engineer (Java)

Interviewed at TIAA

3.7
Jul 30, 2016

The Merit Trac test software is not at all ready for use. The questions are not displayed correctly and many questions were just without any answers. The question layout is messed up and code sniplet mentioned in single line, so its impossible to answer line which contains error.

finally face to face. this is 6 hour long and they will decide very quick the result. First is a Java test. expect to write long java programs with pen and paper. should write code accurately no psudo code java code. some of the questions were insert node in tree, find the bug in single linked list which is looping. Heavy multi threading concurrency questions. thread contention, java 5+ concurrency API lots of multi threading in depth questions. somof the questions ae when java does context switching explain what happens in CPU level1,level2,level3 cache. how do you optmize hit miss on cpu cache with java threading. questions about DB partition sharding, network topology in cassandra, clearly Big 0 questions. java concurrency concurrency collections framework questions I was asked to write on white board function in java to recursively delete files and then in a directory tree. Java code with semi colons command and perfect syntax was expected. boundary conditions need to be handled. unit tests were asked to be written.
avatar

Lead Java Developer

Interviewed at Intercontinental Exchange

3.2
Jan 23, 2016

finally face to face. this is 6 hour long and they will decide very quick the result. First is a Java test. expect to write long java programs with pen and paper. should write code accurately no psudo code java code. some of the questions were insert node in tree, find the bug in single linked list which is looping. Heavy multi threading concurrency questions. thread contention, java 5+ concurrency API lots of multi threading in depth questions. somof the questions ae when java does context switching explain what happens in CPU level1,level2,level3 cache. how do you optmize hit miss on cpu cache with java threading. questions about DB partition sharding, network topology in cassandra, clearly Big 0 questions. java concurrency concurrency collections framework questions I was asked to write on white board function in java to recursively delete files and then in a directory tree. Java code with semi colons command and perfect syntax was expected. boundary conditions need to be handled. unit tests were asked to be written.

Viewing 471 - 480 interview questions

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