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

How will you design the payment system? What tech stack you will use in that? How will you design the distributed cache? Write the code to convert the given number into format as shown- 100 => 100 1000 => 1,000 10000 => 10,000 100000 => 1,00,000
avatar

Java Architect

Interviewed at Entain India

3.5
Jun 15, 2022

How will you design the payment system? What tech stack you will use in that? How will you design the distributed cache? Write the code to convert the given number into format as shown- 100 => 100 1000 => 1,000 10000 => 10,000 100000 => 1,00,000

There was written test which included 60 aptitude questions and 20 technical questions. In interview, below were the questions I remember : for input : 3 5 4 1 2, below is the output -*--- -**-- ***-- ***-* ***** Write program for it
avatar

Java Developer

Interviewed at 3dplm Software Solution

3.6
May 24, 2016

There was written test which included 60 aptitude questions and 20 technical questions. In interview, below were the questions I remember : for input : 3 5 4 1 2, below is the output -*--- -**-- ***-- ***-* ***** Write program for it

In second face to face they ask jvm jdk jre Method overloading and overriding Exception handling Program on collection Access modifier and their restriction Final year project 3.cto round Very difficult if you are not aware about what you have mentioned In your resume Prefer this question if you are going to face this round The question is like Convert decimal to hex Method in system class Attribute of head tag in html DOS commands Attribute of table tag 8 access modifier and where they we can apply or where we can not Interface and class Create table in html Javascript program Protocols and their port numbar Ven diagram of jdk jvm jre ALL THE BEST
avatar

Java Developer

Interviewed at Naaptol

2.6
Nov 19, 2018

In second face to face they ask jvm jdk jre Method overloading and overriding Exception handling Program on collection Access modifier and their restriction Final year project 3.cto round Very difficult if you are not aware about what you have mentioned In your resume Prefer this question if you are going to face this round The question is like Convert decimal to hex Method in system class Attribute of head tag in html DOS commands Attribute of table tag 8 access modifier and where they we can apply or where we can not Interface and class Create table in html Javascript program Protocols and their port numbar Ven diagram of jdk jvm jre ALL THE BEST

Viewing 41 - 50 interview questions

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