Java programming interview questions and tests

The ready-to-use Devskiller online Java programming tests are widely used for technical screening and online interviews. They help tech recruiters and HR managers to select Java developers with the right skill set for on site interviews and screen out the bad ones.

Devskiller programming tests comprise Java programming interview questions and Java programming tasks. All Devskiller coding tests are powered by RealLifeTesting™ methodology.

If you’re looking for sample Java programming interview questions and tests to assess your candidates, start a free trial or log into your account.

Technologies covered:

Programming language: Java

Java frameworks and libraries: Spring framework, Spring boot, Hibernate, JPA, GWT, JSF, Vaadin, Play framework Groovy, SpockFramework, JUnit, TestNG and others

Build tools: Maven, Gradle.

Java
JUNIOR
Tested skills
Duration
34 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring Boot

Programming task - Level: Easy

Java | Spring Boot, Kotlin | Orders microservice - Implement a backbone of the RESTful miscroservice.

Available in Team and Enterprise plans

Create account
Selenium
JUNIOR
Tested skills
Duration
35 minutes max.
Evaluation
Automatic
Test overview

Code gaps

assessing knowledge of Java, QA, Selenium

Programming task - Level: Easy

Java | Selenium | Dropdowns and collections - Implement two methods in the SeleniumExecutor class, which should use the Selenium WebDriver to perform the below tasks on the page from the src/test/resources/__files/index.html page.

Available in Team and Enterprise plans

Create account
Selenium
JUNIOR
Tested skills
Duration
43 minutes max.
Evaluation
Automatic
Test overview

Code gaps

assessing knowledge of Java, Selenium

Programming task - Level: Easy

Java | Selenium | Authentication in web service - Implement four methods at the LoginPage class marked with //TODO implementation. All of them should use the Selenium WebDriver to interact with the page.

Available in Team and Enterprise plans

Create account
Spring
MIDDLE
Tested skills
Duration
101 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring, JPA

Programming task - Level: Medium

Java | Spring, Hibernate | RESTful Blog - Implement a commenting feature to a simple REST application for serving a blog.

Available in Team and Enterprise plans

Create account
Hibernate
JUNIOR
Tested skills
Duration
35 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Hibernate, Java

Programming task - Level: Easy

Java | Hibernate | Attribute Converter - Implement the missing Attribute Converter methods to correctly perform the entity mapping.

Available in Team and Enterprise plans

Create account
Hibernate
JUNIOR
Tested skills
Duration
40 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Hibernate, Java, JPA

Programming task - Level: Easy

Java | Hibernate | Recipes collection app - Implement missing methods to successfully perform some simple CRUD operations.

Available in Team and Enterprise plans

Create account
Android
SENIOR
Tested skills
Duration
60 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Android

Programming task - Level: Hard

Android | Bitmap Manipulations - Implement the three operations which should be performed on a selected image prior initiating a share.

Available in Team and Enterprise plans

Create account

The best roles for a Java software developer:

Recommended roles for Java developers include:

  • Web developer
  • Software developer
  • Java developer
  • UI developer
  • Application developer
  • Back end developer
  • Embedded developer

How our Online Java tests work

Using the RealLifeTesting™ methodology, Devskiller’s Java programming interview questions help put your candidate in an environment to examine their coding skills. Give them access to all the tools they need to complete a range of tasks that they’d face regularly as a developer in your company. 

Create deadlines and build a range of scenarios and tasks to help measure and asses your candidates’ problem-solving and technical thinking 

Key features

  • Asses candidates’ Java development skills in an environment you’ve designed and measure their coding abilities, rather than academic credentials
  • Test Java developers anywhere in the world at any time of day
  • A natural coding environment where your candidate has access to all the tools they have available in the job you’re hiring for
  • Automatically create a report that’s easy to read and comprehend for non-technical recruiters
  • Verify the integrity of your candidate’s work with robust and complex plagiarism controls

What to look for in a Java developer

Java is one of the most widely used coding languages out there. With such a versatile language, it’s important you know as much as you can about your Java developer. A Java developer that understands the tools of the trade, more than the language itself is a highly-sought-after skill. This is because languages and frameworks are always changing, and what was being used only 5 years ago is obsolete by today’s standards

Java has its own range of certificates, but these are hardly reliable as they do little to assure a recruiter about a Java developer’s capabilities. That’s why it’s important that, alongside a traditional interview, you use an online Java test to check the skills that are specific to the position you’re recruiting for. 

Don’t see what you want?

Can’t find the online Java coding test you’re after? No worries. Use Devskiller’s Task Wizard to create your very own coding test and give your candidate access to everything they need. Create a task that focusses on problems common in your business, test the right skills, and make the best hire.