Interview questions: looking for the best way to hire a  Java Developer?

We’ve compiled a list of interview questions normally used in an online skills assessment for a Java Developer role.

To hire a great Java Developer it’s not enough to ask “resume questions” about someone’s experience. The best way to predict performance is to test job-related skills by seeing how candidates perform tasks they’d normally do on the job.

In this skills assessment you’ll find interview questions that evaluate a mix of skills relevant to a Java Developer role, including Java programming, Technical Communication, and Software Engineering.

Java Interview coding preview

Java Developer interview questions

Question 1

Java Developer

QUESTION TYPE:
Text
icon for question type

Java Developer

Can you explain in your own words what a constructor does in Java?

Sign up to to use this question in a Vervoe skills test

Question 2

Java Developer

QUESTION TYPE:
Code
icon for question type

Java Developer

Write a function isPalindrome(string) that determines if string is a palindrome. Use comments to explain your thoughts.

Sign up to to use this question in a Vervoe skills test

Question 3

Software Engineering

QUESTION TYPE:
Multiple-Choice
icon for question type

Software Engineering

What is the purpose of XMLHttpRequest?

Sign up to to use this question in a Vervoe skills test

Question 4

Communication, Java Developer

QUESTION TYPE:
Video
icon for question type

Communication, Java Developer

Explain how you would create a Java program to determine whether or not a number is a prime number. Record your response as a short video:

Sign up to to use this question in a Vervoe skills test

Question 5

Java Developer

QUESTION TYPE:
Code Editor
icon for question type

Java Developer

How would you declare a variable called 'strArr' to split a string named 'input' with the delimiter '!!'?

Sign up to to use this question in a Vervoe skills test

Question 6

Communication, Software Engineering

QUESTION TYPE:
Video
icon for question type

Communication, Software Engineering

Describe an interesting project you have worked on. The project can be professional or as a hobby. What role did you play? What was the most rewarding aspect of working on this project?

Sign up to to use this question in a Vervoe skills test

Question 7

Java Developer

QUESTION TYPE:
Code Editor
icon for question type

Java Developer

Create a public class named Employee, it has three private string variables, fName, lName and department . It also has a private integer variable called employeeID. Create getters and setters methods for all variables. It should also have a constructor.

Sign up to to use this question in a Vervoe skills test

Question 8

Software Engineering

QUESTION TYPE:
Text
icon for question type

Software Engineering

You're helping your manager on a software project that requires an estimated 1000 person hours to deliver. You are part of a team of 9 devoted to this project, 2 of which are half-time, and 2 of which are 1 FTE contractors who do not get overtime pay. The client has asked for an estimate on the delivery date. What is your response?

Sign up to to use this question in a Vervoe skills test

Question 9

Java Developer

QUESTION TYPE:
Code Editor
icon for question type

Java Developer

Create a function named findPrime with two input integers which returns the sequence of prime numbers in the range of two numbers.

Sign up to to use this question in a Vervoe skills test

Great people are worth it

Talent management is the most important competitive advantage in any business.

Vervoe helps companies reach their potential by avoiding bad hires, which cost up to 2.5x salary.

Start using this skills test