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

Following in Java - 1. Write any Sorting algorithm and devise it's time complexity. 2. Print all Armstrong numbers between 100 to 999. 3. Print all valid Mobile Numbers based on valid prefix, one List containing valid prefixes, the other one consisting of mobile numbers. 4. Create a class Lister, which is a collection class, allows integer to be added to the collection in addInt(), and to print all integers and lastly print their sum in printInt(). 5. A parentheses matching program and counting the number of valid parentheses. 6. Last one was based on SQL(not Java), and one had to write query there.
avatar

Java Developer

Interviewed at Remaxys

4
Oct 4, 2015

Following in Java - 1. Write any Sorting algorithm and devise it's time complexity. 2. Print all Armstrong numbers between 100 to 999. 3. Print all valid Mobile Numbers based on valid prefix, one List containing valid prefixes, the other one consisting of mobile numbers. 4. Create a class Lister, which is a collection class, allows integer to be added to the collection in addInt(), and to print all integers and lastly print their sum in printInt(). 5. A parentheses matching program and counting the number of valid parentheses. 6. Last one was based on SQL(not Java), and one had to write query there.

on face to face round he asked about mvc , then sql command in dcl ddl dml formal then about project then , and about 4 driver in jdbc and tell u to do write some logic about* or space pattern on the paper and after this clearing test they will cal u aftr 3 days then in programming yest the 3 programme gives us to wright example binary search, concatination, factiorial with addition of it,n many more
avatar

Java Developer for Fresher

Interviewed at InteractCRM

3.2
Mar 21, 2016

on face to face round he asked about mvc , then sql command in dcl ddl dml formal then about project then , and about 4 driver in jdbc and tell u to do write some logic about* or space pattern on the paper and after this clearing test they will cal u aftr 3 days then in programming yest the 3 programme gives us to wright example binary search, concatination, factiorial with addition of it,n many more

Viewing 1631 - 1640 interview questions

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