DevSkiller logoTalentBoost logoTalentScore logo

Java programming interview questions and Java programming 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 tests. 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.

Spring
JUNIOR
Tested skills
Duration
35 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring

Programming task - Level: Easy

Java | Spring | Currency Exchange Service - Create a currency exchange rate service. It should allow users to fetch information about currency exchange rates and calculate the amount of money they will get after the exchange.

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

Choice questions

assessing knowledge of Java, Spring

Programming task - Level: Easy

Java | Kafka | Flight tickets reservations - Implement the service for validating data quality which is received from the travel agencies.

Spring Boot
JUNIOR
Tested skills
Duration
54 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of Java, Spring Boot

Code gaps

assessing knowledge of Java

Programming task - Level: Easy

Java | Spring Boot | HATEOAS Bike Station - Finish the implementation of HATEOAS to the REST API.

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

Front End programming task - Level: Easy

JavaScript | TypeScript | Invoice application - frontend - Implement the front-end part for merging and aggregating the invoice data with currency exchange rates.

Back End programming task - Level: Easy

Java | Invoice application - backend - Implement the backend part for searching and aggregating invoice data with the service and the DAO methods.

QA
SENIOR
Tested skills
Duration
49 minutes max.
Evaluation
Automatic
Test overview

Choice questions

assessing knowledge of QA, Unit-Testing, Manual Testing, Testing

Programming task - Level: Hard

QA | Java, Selenium | Multi-factor authentication test automation - Automate the authentication mechanism in Selenium.

Selenium
MIDDLE
Tested skills
Duration
40 minutes max.
Evaluation
Automatic
Test overview

Code gaps

assessing knowledge of Java, QA, Selenium

Programming task - Level: Medium

QA | Java, Selenium | Text and link extraction - The aim of this task is to test the candidate's abilities in retrieving text from the page. The tasks include waiting for an element with text to be visible as well as invisible elements.

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.

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.

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.

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.

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

Choice questions

assessing knowledge of Java

Programming task - Level: Easy

Java | Spring Boot | Discount microservice - Implement microservice using Spring Boot features.

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

Choice questions

assessing knowledge of Java

Programming task - Level: Easy

Java | Find duplicates - Implement findDuplicates method that returns a new list containing duplicates which occured N-times.

Choice questions

assessing knowledge of ES6, JavaScript, Typescript

Programming task - Level: Easy

JavaScript | Node.JS | Websocket server - Complete the server.js file in order to finish the WebSocket server.

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.

The best roles for a Java software developer:

Recommended roles for Java programming tests include:

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

How our Online Java skill 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 with Java skill tests
  • 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 skill test to check the skills that are specific to the position you’re recruiting for.

Find Java interview questions

Looking to find Java interview questions? DevSkiller Java tests include a wide variety of questions that are suited to any Java developer position. The Java programming language is constantly changing, which means having a wide range of current Java interview questions is vital to provide a complete understanding of the candidate’s abilities. It can be hard trying to find the best core Java interview questions that are suited to the specific role you need. That’s why each DevSkiller account comes with Java tests preloaded with real-world questions that can also be customized to suit the current position. This includes Java interview questions for experienced professionals.

Get ready for Java assessment test

As the Java environment is constantly changing, it’s even more important to get ready for a Java assessment test. This means making sure you understand the entire Java environment from its frameworks and tools to the Java language. DevSkiller tests speed up and smooth out this process by providing companies an infrastructure that lets them use their own codebase or our ready-to-use Java coding tests. When you get ready for the Java assessment test, it is important to remember that a developer may have a university degree, but this isn’t necessarily useful when it comes to business coding. Unless you recruit for an entry-level or junior position, the candidate needs to have recent real-life experiences such as commercial, hobby, or open-source programming.

You won’t need to worry when getting ready for a Java assessment test, as we include the most important core Java interview questions for junior positions to Java interview questions for experienced professionals.

Example Java programming interview questions

Finding the right example Java programming interview questions can be tiresome. The RealLifeTestingTM methodology is the foundation for all DevSkiller Java tests. It provides real-world situations for candidates so you can test the skills that a developer will use in their day-to-day work. This helps to provide a better understanding of the candidates’ abilities. Candidates also prefer this form of testing over typical example Java programming interview questions. It allows them to understand the position better and perform at their best. This method also offers Core Java interview questions as well as Java interview questions for experienced professionals.

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 focuses on problems common in your business, test the right skills, and make the best hire.