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

interviewer started with oops principle Object comparison diff. bte string and stringbuffer http request lifecycle 2 puzzles - did not strike me at time -2 same candles - 1 burns in 1 hr.how will you measure 1 1/2 hr -how will you tell weather a number can be represented in 2 raise to n like 4 can be writeen as 2square.
avatar

Java Lead

Interviewed at Ness Digital Engineering

4
Jul 25, 2011

interviewer started with oops principle Object comparison diff. bte string and stringbuffer http request lifecycle 2 puzzles - did not strike me at time -2 same candles - 1 burns in 1 hr.how will you measure 1 1/2 hr -how will you tell weather a number can be represented in 2 raise to n like 4 can be writeen as 2square.

1st Programming Round 1) WAP to check if the string is unique or not 2) Given an array of Integers , among the elements find the pair whose sum is equal to a given number 3) Idr tbh Have to solve 2 out of 3 (Logic is very important , other errors are acceptable)
avatar

Java Developer

Interviewed at Thinkitive Technologies

4.5
Aug 27, 2019

1st Programming Round 1) WAP to check if the string is unique or not 2) Given an array of Integers , among the elements find the pair whose sum is equal to a given number 3) Idr tbh Have to solve 2 out of 3 (Logic is very important , other errors are acceptable)

describe architecture of your project, which version of java you use, which functionalities of the particular version are used. difference between final, finally and finalize, how is exception handling is used in your project, what is throwable.
avatar

Java Developer

Interviewed at Deloitte

3.8
May 28, 2018

describe architecture of your project, which version of java you use, which functionalities of the particular version are used. difference between final, finally and finalize, how is exception handling is used in your project, what is throwable.

Viewing 481 - 490 interview questions

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