Java

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
MIDDLE
Tested skills
Duration
61 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, JPA, Spring, Spring - Dependency Injection

Programming task - Level: Medium

Java | Spring Boot, JPA, REST API | Blog app - Add a comments feature to a simple Spring Boot REST blog application.

Available in premium plans

Create account
Android
MIDDLE
Tested skills
Duration
70 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Android

Programming task - Level: Medium

Android | ListView | Todo List - Display a List of items using ListView, implement a Checkbox control, mark items as done/undone and update model data.

Available in premium plans

Create account
Android
MIDDLE
Tested skills
Duration
70 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Android

Programming task - Level: Medium

Android | RecyclerView | Todo List - Display a List of items using RecyclerView, implement a Checkbox control, mark items as done/undone and update model data.

Available in premium plans

Create account
Java Script
MIDDLE
Tested skills
Duration
80 minutes max.
Evaluation
Automatic
Test overview

Programming task - Level: Medium

Java | Flights manager | Implement an application that is responsible for managing flights data

Programming task - Level: Medium

JavaScript | React | Contact Form - Optimize the fill-out form for site users

Available in premium plans

Create account
Java
MIDDLE
Tested skills
Duration
42 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring, Spring - Dependency Injection

Programming task - Level: Medium

Java | Spring Boot, MongoDB, REST API | Blog app - Add a comments feature to a simple Spring Boot REST blog application.

Available in premium plans

Create account
Java
MIDDLE
Tested skills
Duration
55 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java

Programming task - Level: Medium

Java | Spring Security | Secure POST - Secure an enterprise application by allowing the administrator only to call state changing endpoints.

Available in premium plans

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

Choice questions

assessing knowledge of Java

Programming task - Level: Easy

[Single File] Java | Orders Analyzer | Find a total ordered quantity of a product for every weekday - Implement a method that will analyze orders dataset and return a map with total ordered quantity of a product for every weekday

Available in premium plans

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

Choice questions

assessing knowledge of Java

Programming task - Level: Easy

[Single File] Java | Movies analyzer | Find top favorite movies among friends - Implement a method that will analyze movies dataset and return array of most favourited movies

Available in premium plans

Create account
java
MIDDLE
Tested skills
Duration
65 minutes max.
Evaluation
Automatic
Test overview

Programming task

solve a programming challenge that involves [Single File] Java - Orders Analyzer - Find an average order value for every weekday

Choice questions

assessing knowledge of Java Concurrent Maps,General Java Development File,File Handling,Java Precise Values,Valid Package Name,Java Command Prompt.,Java Collections,Java Streams,Singletons,Question about Integer class

Available in premium plans

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

Choice questions

assessing knowledge of Java, CleanCode

Programming task - Level: Medium

Spring Security - Secure methods to allow only the article author to create and read an article with his name, using method annotations.

Available in premium plans

Create account
java
JUNIOR
Tested skills
Duration
44 minutes max.
Evaluation
Automatic
Test overview

Programming task

solve a programming challenge that involves [Single File] Java - Movies Analyzer - Find top watchlisted movies among friends

Choice questions

assessing knowledge of Input Variables, Spring - data access, Java Strings, General Question, Hibernate - basics, DriverManager, String Lists, Spring - AOP, General Terminology, String Handling

Available in premium plans

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

Choice questions

assessing knowledge of Java, CleanCode

Programming task - Level: Medium

Spring Security - Secure ArticleService so that it returns only those articles in locale that are equal to the one currenntly used.

Available in premium plans

Create account