The Java online test assesses candidates' knowledge of programming in the Java language and their ability to leverage commonly used parts of the Java Class Library.

It's an ideal test for pre-employment screening. A good Java developer needs to be able not only to solve problems using Java but also recognize when to leverage the functionality provided by the Java Class Library to write robust and maintainable code.

This online test requires candidates to solve coding problems in Java and find and fix bugs in a Java program.

Recommended Job Roles
Back-End Developer
Java Developer
Web Developer
Sample Candidate Report

Sample Free Questions

Alert Service

10min
  -  
Easy  
  -  
CODE

Java Refactoring Public

Refactor the AlertService and MapAlertDAO classes:

  • Create a new package-private interface, named AlertDAO, that contains the same methods as MapAlertDAO.
  • MapAlertDAO should implement the AlertDAO interface.
  • AlertService should have a constructor that accepts AlertDAO.
  • The raiseAlert and getAlertTime methods should use the object passed through the constructor.

Merge Names

10min
  -  
Easy  
  -  
CODE

Java Arrays Public

Implement the uniqueNames method. When passed two arrays of names, it will return an array containing the names that appear in either or both arrays. The returned array should have no duplicates.

For example, calling MergeNames.uniqueNames(new String[]{'Ava', 'Emma', 'Olivia'}, new String[]{'Olivia', 'Sophia', 'Emma'}) should return an array containing Ava, Emma, Olivia, and Sophia in any order.

Palindrome

10min
  -  
Easy  
  -  
CODE

Java Strings Public

A palindrome is a word that reads the same backward or forward.

Write a function that checks if a given word is a palindrome. Character case should be ignored.

For example, isPalindrome("Deleveled") should return true as character case should be ignored, resulting in "deleveled", which is a palindrome since it reads the same backward and forward.

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Utilities, Runner, Document Store, Needle, Log Parser, Driver Exam, Crop Ratio, Programmer Teacher, Chicken, Paragraph, Username, Chain Link, Hobbies, Read First Line, Node, Shipping, Racer, Snapshot, Date Transform, Segment, Internal Nodes, Moving Total, Entry, Unique Numbers, Remove Repetitions, Max Sum, Unique Name, Friend, Paper Strip, Stories, Train, Platformer, Weighted Average, Test Results, Product, Unloading Trucks, Shelf, Rare, Stack to List, Read Write Execute, Shining Star, Document Counter, Snow Storm
Skills
Java OOP Bug fixing Memory management Language Stream Strings Serialization Exceptions Data structures Arrays Iteration Arithmetic Multithreading Algorithmic thinking Searching Graphs Dynamic programming Refactoring Sorting Test case design TDD
Score Distribution
Loading...
Pricing For Premium Questions