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

Total of 50 written exam questions which include 1. Had Basic Java questions at the beginning such as What be the out put of the program 2. Error in the code 3. What is the default value of string, int, double, float, boolean 4. Difference between jsp and servlet 5. What is immutable class and example 6. sub class and super class difference 7. SImple SQL select quesries(6 to 8) 8. 12 to 15 Unix command questions. GREP command 9. write a command to print last 500 lines of the text file 10. how to find the text from the drive 11. ls commands 12. try, catch, finally and throw in java related questions 13. how to redirect to other jsp page using servlet and jsp 14. how to print using unix command 15. volatile in unix 16. how to loop in unix programming
avatar

Java Full Stack Developer

Interviewed at Peapod

2.8
Jun 9, 2016

Total of 50 written exam questions which include 1. Had Basic Java questions at the beginning such as What be the out put of the program 2. Error in the code 3. What is the default value of string, int, double, float, boolean 4. Difference between jsp and servlet 5. What is immutable class and example 6. sub class and super class difference 7. SImple SQL select quesries(6 to 8) 8. 12 to 15 Unix command questions. GREP command 9. write a command to print last 500 lines of the text file 10. how to find the text from the drive 11. ls commands 12. try, catch, finally and throw in java related questions 13. how to redirect to other jsp page using servlet and jsp 14. how to print using unix command 15. volatile in unix 16. how to loop in unix programming

As I have mentioned before just go through some basic concepts on which field you are applying for and you will be fine. HR round: -Intro yourself -why did you choose this company -how will company benefits form by hiring you
avatar

Junior Java Developer

Interviewed at Dynatech

2.9
Aug 27, 2022

As I have mentioned before just go through some basic concepts on which field you are applying for and you will be fine. HR round: -Intro yourself -why did you choose this company -how will company benefits form by hiring you

They will give you test in such a high difficulty, even google or amazon will not give you but they are simply some small scale healthcare company who will only hire citizens. They gave me test, and i have answered two questions correct. third question i have not bothered because it is like a huge project. I have 20 years of experience i could not complete it and no one can complete.
avatar

Senior Java/J2EE Developer

Interviewed at Equality Health

3
Dec 18, 2018

They will give you test in such a high difficulty, even google or amazon will not give you but they are simply some small scale healthcare company who will only hire citizens. They gave me test, and i have answered two questions correct. third question i have not bothered because it is like a huge project. I have 20 years of experience i could not complete it and no one can complete.

Viewing 3041 - 3050 interview questions

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