Skip to content

Java interview questions and online tests

DevSkiller Java Coding Questions have been specially prepared by our expert team of professionals for Java developers- from junior to senior level. All of our Java coding tests are specifically tailored to ensure you find the perfect candidate, using a specific range of Java questions.

DevSkiller Java coding questions are powered by the RealLifeTesting™ methodology which works by replicating real-world scenarios for your applicants to solve. Finding your next Java developer is simple with our unique range of tests.

Technologies covered:

Programming language: Java

Java frameworks and libraries: Spring Framework, Spring Boot, Hibernate, JPA, GWT, JSF, Vaadin, Play Framework, Groovy, Spock Framework / JUnit, TestNG, Selenium and others

Build tools: Maven, Gradle

Mobile Developer
SENIOR
Tested skills
Duration
100 minutes max.
Evaluation
Automatic
Test overview

Programming task - Level: Hard

iOS | Swift | Conference App Senior - Implement a network service that is used to interact with the server.

Programming task - Level: Hard

Android | Async call from native to Java via JNI - Provide the missing JNI part of the native-Java communication combo that fulfills the certain requirements.

JUNIOR
Tested skills
Duration
70 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Android, iOS

Programming task - Level: Easy

Android | Style Basics - Implement a Style that can be re-used with a number of TextView widgets.

Programming task - Level: Easy

iOS | Swift | Water Power Plant Application - Implement the missing functions in the application for the analysis of data from a hydroelectric power plant.

Android
MIDDLE
Tested skills
Duration
72 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Android, iOS

Programming task - Level: Medium

Android | Reminder app - Implement missing features in the Reminder application using BroadcastReceivers, Services, Intent scheduling using AlarmManager and Notifications API.

Programming task - Level: Medium

iOS | Swift | Students details applicaction - Implement an app maintaining student details in a file and allowing users to query the file in order to retrieve specific data.

Android
SENIOR
Tested skills
Duration
45 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Kotlin, Android

Programming task - Level: Hard

Android | Kotlin | Async call from native to Java via JNI - Provide the missing JNI part of the native-Java communication combo that fulfills the certain requirements.

Spring
MIDDLE
Tested skills
Duration
108 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring, JPA

Programming task - Level: Medium

Java | Spring, Hibernate | Legacy RESTful Blog - implement comments for blog posts - Create a simple REST application for serving a blog. Please note, that this project is using the legacy structure.

Java
MIDDLE
Tested skills
Duration
69 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java

Programming task - Level: Medium

Java 11+ | Spring Cloud | Microstore | Microservices with RESTful and asynchronous communication - Implement REST and Asynchronous communication

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.

SENIOR
Tested skills
Duration
75 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of QA, Unit-Testing, Performance

Programming task - Level: Hard

JUnit | ATM Service | Validation of ATM Service - Write a series of JUnit validation tests for ATM.

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.

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.

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

Java
SENIOR
Tested skills
Duration
42 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring, Spring - Dependency Injection

Programming task - Level: Hard

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

android
SENIOR
Tested skills
Duration
195 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Android

Programming task - Level: Hard

Android | Task executor library - Implement the queue of long-running tasks meeting standards of Android multithreading, Android Service, Android Binder specifics and power management.

Android
SENIOR
Tested skills
Duration
165 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Android

Programming task - Level: Hard

Android | Reminder app - Implement missing features in the Reminder application using BroadcastReceivers, Services, Intent scheduling using AlarmManager and Notifications API.

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

Choice questions

assessing knowledge of Android

Programming task - Level: Medium

Android | Movie database app | XML parser to list UI - Display data through RecyclerView, conduct the Spinner control and filter data in RecyclerView based on Selections in the Spinner in processing movie data application.

The right Java interview questions and online tests to screen Java developers

Recommended roles for our Java Interview Questions

  • Java developer
  • Junior QA developer
  • Frontend developer
  • Full-stack Java developer
  • Junior Java developer
  • Middle Java developer
  • Senior Java developer

How our Java interview questions and online tests work

Java tests use RealLifeTesting™ so you can assess each applicant’s knowledge of Java coding in a controlled environment. DevSkiller Java coding questions provide you with a clear understanding of an applicant’s coding ability and problem-solving skills.

Key features

  • DevSkiller Java coding questions provide you with clear insight into each applicant’s specific skillset
  • Remote testing saves you time and money
  • RealLifeTesting™ methodology offers a greater user experience where candidates can use their own IDE, clone to GIT, run unit tests, and access Stack Overflow/GitHub/Google for research.
  • The latest anti-plagiarism tools ensure reliable results
  • Clear, precise results that non-technical professionals will easily understand
  • Java coding tests available for all levels of experience

Skills covered in our Java interview questions and online tests

  • Springboot
  • Java
  • QA
  • Selenium
  • MongoDB
  • Mavern
  • Explicit Wait
  • Kotlin
  • REST

What to look for in a Java developer

Java is a compiled, object-oriented programming language. It is intended to let application developers “write once, run anywhere,” meaning that compiled Java code can run on all platforms that support Java, without the need for recompilation. However Java is not considered the easiest programming language to use for non-programmers, so you will want to hire the right Java developer for the job.

It is important to understand that the Java world evolves quickly so your ideal candidate will need to have up to date, relevant experience. Your Java developer will need to have an understanding of Java language through collections, “streams” and lambda expressions and concurrency through thread pools. They should have knowledge of frameworks including Spring Boot 2, Hibernate and SQL, JUnit, and Spock among others. As well as the language itself, your Java developer will also need to have knowledge of the tools and libraries of the language, such as Maven and Gradle, Git, and Docker – this will pay dividends in time-saving further down the line. Finally, your Java Developer should have hands-on, practical experience of working on actual coding projects, be it commercial or otherwise.

Build your own custom Java Coding Questions

Do you want to test our Java Coding Questions using your own codebase? No problem. The DevSkiller online task wizard is stacked with awesome features that allow you to customize your test invites. Choose the languages you want to test, define the test scope, and duration all while monitoring your applicants’ process in real-time. Remote testing means you can conveniently test your applicants and find the best talent from all corners of the globe.

Interested but want to know more about our Java online tests?

If you think DevSkiller might be just what your business needs, but you want to be sure, check out the case study below:

Ada Health

Ada Health is a global health company founded by doctors, scientists, and industry pioneers to create new possibilities for personal health. The company previously screened tech skills through an on-site task, followed by a team interview- a procedure that required a great deal of time. For this reason, the biggest objective Ada had was an improved interview experience that would save time.

“DevSkiller helped us to save precious on-site time for applicants that are already likely to be a fit. We’re saving 3 hours per candidate – that was the time we spent with applicants on a technical task before.”

Micha Gerwig– Engineering Manager Ada Health

Frequently asked questions

How are Java online tests evaluated?

With our Java online tests, once the candidate has completed the test, the results are automatically evaluated and presented in a clear and concise way. You don’t have to be technically minded to understand them. Each candidate is evaluated based on the solutions they have provided, with each candidate being assessed based on whether their solution would work, the quality of the code, and any errors in the code. In addition, extra features test for plagiarism from previous tests.

How do candidates take a test?

DevSkiller’s Java online tests are accessible from anywhere, meaning all the recruiter has to do is provide the test, then it is up to the candidate to come up with the right results. Each test can be made accessible for a limited time. Candidates can complete tests using their favorite IDE and then clone the project to GIT. Candidates can also run unit tests to make sure their solutions are effective. Once completed, test results are automatically evaluated and presented to the recruiter in the form of a report.

How long does it take to set up DevSkiller?

DevSkiller provides an extensive library of Java coding tests, meaning you can start testing candidates immediately after setting up your account. The whole process of setting up your Java coding questions can take as little as five minutes.

What do candidates think of DevSkiller tests?

Feedback received from candidates is that they love the structure of DevSkiller Java coding tests. We find candidates like having a chance to prove their software development skills, rather than simply trying to churn out old algorithms that they haven’t touched since they were students. They also like that DevSkiller tests use normal coding practices and conventional tools like unit testing and cloning to GIT from a personal IDE.

If developer candidates are apprehensive about taking the test, their suspicions usually come from experience taking algorithmic tests- tests that don’t monitor the actual skills a developer uses on an everyday basis. With DevSkiller online tests, we find that candidates can immediately tell the difference and can test their Java coding skills in a way that is challenging but also a fair representation of the type of work they will be doing.

What’s the test duration?

Java coding tests are flexible and you can set the duration to suit your own preferences. You have the option to use the default settings, or to cater the test to your own needs. Furthermore, each individual question within a test, can also be set with time-limits.