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

Technical Questions: 1. Three pillars of OOP with explanation of each 2. Final Keyword in Java 3. Abstract Class & Interface difference 4. JSP & Servlets difference 5. What is meant by immutability in Java? 6. Multi-threading - Sleep vs Yield? 7. What is a design pattern and name some. Explain Singleton Design Pattern? 8. protected keyword in access modifiers 9. Continue vs break statement 10. Describe MVC? 11. StringBuffer vs StringBuilder? 12. One logic/algo question: Inserting an element at proper position in a sorted array. They will focus on the very basic logic design like loops, function and their arguments.
avatar

Entry Level Java Developer

Interviewed at RedMane Technology

3.4
Mar 25, 2015

Technical Questions: 1. Three pillars of OOP with explanation of each 2. Final Keyword in Java 3. Abstract Class & Interface difference 4. JSP & Servlets difference 5. What is meant by immutability in Java? 6. Multi-threading - Sleep vs Yield? 7. What is a design pattern and name some. Explain Singleton Design Pattern? 8. protected keyword in access modifiers 9. Continue vs break statement 10. Describe MVC? 11. StringBuffer vs StringBuilder? 12. One logic/algo question: Inserting an element at proper position in a sorted array. They will focus on the very basic logic design like loops, function and their arguments.

First round was aptitude round followed by programing round then technical round and last hr round First aptitude round contain 3 section 1st section had 30 question based on logical reasoning , section B contain 15 question of english grammar like filling the blanks. Last section c contains technical questions like c,java programing output.It is not taugh but out of 60 students 15 clear that test. Sencond round was programing round they was given pattern program.out of 15 mostly 4-5 cracked that round and next round was technical round in that round they was ask me besic concept but in deep.this round took more than 1 hour. So be prepared oops concept deep.im wating for 3rd round result.
avatar

Java Developer

Interviewed at OSI Digital

3.5
May 13, 2018

First round was aptitude round followed by programing round then technical round and last hr round First aptitude round contain 3 section 1st section had 30 question based on logical reasoning , section B contain 15 question of english grammar like filling the blanks. Last section c contains technical questions like c,java programing output.It is not taugh but out of 60 students 15 clear that test. Sencond round was programing round they was given pattern program.out of 15 mostly 4-5 cracked that round and next round was technical round in that round they was ask me besic concept but in deep.this round took more than 1 hour. So be prepared oops concept deep.im wating for 3rd round result.

Viewing 101 - 110 interview questions

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