Search Adaface test library by skills or roles
⌘ K

Java Online Test

The Java test uses scenario-based and code-tracing questions to evaluate candidates' knowledge of core Java concepts such as OOPs, Classes, Exceptions, Collections and advanced topics such as concurrent programming with threads and handling relational databases. The test uses simple Java Coding questions to assess a candidate's ability to code in Java.

Customized Based On:

  • Experience/ difficulty level
  • Multiple skills in 1 assessment
  • Job description/ role requirements

Covered Topics:

Foundations of the Java syntax and semantics
Basics of Web application programming
Object-Oriented Programming
Working with Databases
Arrays & Objects
Collections framework
Exception handling
Functional programming with Lambdas & Streams API
Map interface and implementations
SOLID principles
See full list
Singapore government logo

The hiring managers felt that through the technical questions that they asked during the panel interviews, they were able to tell which candidates had better scores, and differentiated with those who did not score as well. They are highly satisfied with the quality of candidates shortlisted with the Adaface screening.

Human Resources Manager

Singapore Government

reduction in screening time

Sample Java Online Test Questions

These are just a small sample from our library of 10,000+ questions. The actual questions on this Java Online Test will be non-googleable.

🧐 Question🔧 Skill💪 Difficulty⌛ Time
Custom Exception
What does the following code output?
JavaEasy2 min
Holding References
What does the following Java code output?
JavaMedium2 min
Abstract Interface
Given following interface:
Which of these are correct classes?
OOPs Interfaces
JavaMedium2 min
Garbage Collection
After which line is "bs" object, created on Line 4, eligible for garbage collection?
Garbage Collection
JavaMedium2 min
Static Init Blocks
What does the following code output?
1) G A B E D H
2) G B A D E H
3) G B A D E H C F
4) C F G A B E D H
5) C F G B A D E H
6) G C F A B E D H
7) G C F B A D E H
JavaMedium2 min

How to use the Adaface Java Online Test

Start screening candidates within minutes with the ready-to-go Java Online Test

1. Choose the most appropriate test for your role

2. Start inviting candidates to complete the assessment

3. Receive real time notifications and shortlist the best candidates

OR Customize the Adaface Java Online Test according to your job description

1. Get a custom assessment from our library of 500+ skills within 48 hours

2. Start inviting candidates to complete the assesment

3. Receive real time notifications and shortlist the best candidates

Adaface Java Online Test is trusted by enterprises worldwide

Morgan Stanley
SG Government
Ernst and Young
Optimum Solutions
United Nations
Love Bonito

About the Adaface Java Assessment Test

Evaluate technical and coding skills with Adaface Java online skills testing platform powered by an intelligent chatbot


Data Structures
Reflection API
Functional programming
Streams API
Regular Expressions
Working with Databases
Serialization & De-serialization
Object-oriented programming (OOP)
Classes & Objects
Web application programming
Java 8 Date/Time API
List, Set, Map interfaces
Java Collections Framework
Data Types
Exception Handling
File system Handling
Event-Driven Programming

Recommended Roles:

Java Developer
Java Programmer
Backend Developer
Senior Java Eningeer

Why You Should Use This Java Online Test

The Java Online test helps recruiters and hiring managers identify qualified candidates from a pool of resumes and take objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves expensive engineering time by filtering out unqualified candidates.

The Adaface Java test screens candidates for the typical skills recruiters look for in a Java developer:

  • Experience with basic syntax and functions of Java
  • Experience with core Java concepts such as Strings, OOPs, Classes & Collections
  • Able to efficiently handle exceptions and errors
  • Working with relational databases & JDBC
  • Ability to detect and correct common programming errors at compile time and run time
  • Hands-on Java coding experience

How is the test customized for Senior Java developers?

For intermediate/ experienced candidates, we customize the assessment questions to include advanced topics and increase the difficulty level of the questions. This includes adding questions on topics like

  • Using abstract classes, encapsulation, polymorphism, and interfaces efficiently
  • Comparing the efficiency of two programs in terms of the resources used
  • Best practices of using collections in Java
  • Reflection API
  • Functional programming using Lambdas and Streams API
  • In-depth knowledge of exception handling and garbage collection in Java
  • Efficient concurrent programming techniques
  • Event-driven programming & Web application programming

The coding question for experienced candidates will be of a higher difficulty level to evaluate more hands-on usage of Java collections.

Distribution Of Test Scores

The actual score distribution will vary based on your candidate pipeline quality, but you should typically expect ~20% of the candidates to do well on Adaface assessments.

The score distribution for our assessments follow the normal curve. This is a good sign- standardized tests like SAT and GRE follow the normal distribution (bell curve).

Status quo assessments typically have the exact opposite of the bell curve (too many candidates getting close to 0, too many candidates getting close to 100 and too few candidates in the middle). This is typically because they focus on theoretical questions or trick questions, which are very binary in nature- either you know the trick/ theory or you don’t.

How Adaface Is Different

Adaface conversational assessments are reflective of on-the-job skills and see an 86% completion rate as compared to ~50% for traditional assessment platforms.



Theoretical questions/ puzzles

Feels like a test

One-size-fits-all assessments




Questions for on-the-job skills




Java Online Test FAQs

What type of questions will the Java Online Test include?

The test will have MCQ questions and coding questions. The coding question is designed to evaluate hands-on Java programming experience. The MCQ questions are scenario-based to evaluate on-the-job skills as opposed to just theoretical concepts.

How can I test multiple Java related skills in a single pre-employment test?

Our customized assessments allow you to test multiple skills in a single test. For example, suppose you are looking for a Java developer with knowledge of Spring and SQL. In that case, we customize an assessment to assess all the three skills in the test.

What skills are required for a Java role?

Depending on the role and industry, a Java developer might require these skills:

  • Understanding of Object-Oriented Programming concepts
  • Understanding of when to use design patterns such as Singleton, Factory, Fly-weight, Builder, Object Pool, Iterator, Strategy, Visitor, Composite. This skill is particularly important for senior Java developers who will have to work on the architecture of applications to design long-term solutions
  • Understanding of the class loading process and how class loaders work
  • Deep understanding of the nuanced world of performance, whether that be memory overhead, computation complexity, or speed
  • Knowledge of when memory is being allocated, from what context, and how it affects heap fragmentation
  • Familiarity with the various garbage collection algorithms, and how to use the profilers
  • Experience with JSP / Servlets, Web Frameworks like Struts / Spring, and Service-Oriented Architecture / Web Services – SOAP / REST
  • Ability to apply the most modern patterns and language features to existing systems
  • Experience in using technologies in the Java ecosystem: Struts, Spring, Maven, Gradle, Ant, JUnit, Spock, and Hibernate, among many others
  • Knowledge of the intricacies of SQL queries
  • Ability to learn new technologies and willingness to step out of comfort zone to explore and learn new skills

What is a custom assessment?

Every role is different and requires a custom assessment to identify top candidates efficiently. Adaface subject matter experts understand your job description/ role requirements and pick the most relevant questions from our library of 10000+ questions to create a technical assessment that helps you find the qualified candidates in your candidate pipeline quickly. All custom assessments are set up based on the job description, role requirements, must-have skills, experience level and salary range within a maximum of 48 hours and you will get an email notification once it goes live.

Check out a sample assessment here (no credit card required).

Can I combine multiple skills into one custom assessment?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify.

How is Adaface different from other assessment tools?

We believe that status quo tech assessment platforms are not a fair way for companies to evaluate engineers because they focus on trick questions/ puzzles/ niche algorithms. We started Adaface to help companies find great engineers by assessing on-the-job skills required for a role. Read more about why we started Adaface.

Here's what's different with Adaface:

  • High quality non-googleable questions that test for on-the-job skills as opposed to theoretical knowledge.
  • A friendly conversational assessment with a chatbot, instead of sending a "test" to a candidate. This translates to a higher completion rate. Adaface assessments (86% candidate completion rate), as opposed to traditional tests (40-50% candidate completion rate)
  • Customized assessments for 700+ skills at different experience levels.

Do you have any anti-cheating or proctoring features in place?

We have the following anti-cheating features in place:

  • Web proctoring
  • Webcam proctoring
  • Plagairism detection
  • Non-googleable questions
  • Secure browser

Read more about the proctoring features.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

What experience level can I use this test for?

Each Adaface assessment is customized to your job description/ ideal candidate persona (our subject matter experts will pick the right questions for your assessment from our library of 10000+ questions). This assessment can be customized for any experience level.

Does every candidate get the same questions?

Yes, it makes it much easier for you to compare candidates. Options for MCQ questions and the order of questions are randomized. We have anti-cheating/ proctoring features in place. In our enterprise plan, we also have the option to create multiple versions of the same assessment with questions of similar difficulty levels.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

What is the cost of using this test?

You can check out our pricing plans.

Can I get a free trial?

The platform is completely self-serve, so here's one way to proceed:

  • You can sign up for free to get a feel for how it works.
  • The free trial includes one sample assessment (Java/ JavaScript) that you will find in your dashboard when you sign up. You can use it to review the quality of questions, and the candidate experience of a conversational test on Adaface.
  • To review the quality of questions, you can also review our public questions for 50+ skills here.
  • Once you're convinced that you want to try it out with real assessments and candidates, you can pick a plan according to your requirements.

I just moved to a paid plan. How can I request a custom assessment?

Here is a quick guide on how to request a custom assessment on Adaface.

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!

Brandon Lee, Head of People, Love, Bonito

hashtag image heart icon Brandon
Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
Have any questions about the Adaface Java Online Test?
Have any questions about the Adaface Java Online Test?
Chat with us ✨
Terms Privacy Trust Guide