Used for hiring

Backend Developers
Android Developers
Full stack Developers

Skills required

Good understanding of object-oriented programming

Proficiency in Java

Knowledge of JDBC, RESTful API, and MVC concepts

Java Developer Assessment

These tests are highly popular among most recruiters to assess Java developers

You can check for the following skills while hiring a Java developer-

  • Proficiency in CORE Java
  • Adept at creating a seamless  UX
  • Knowledge of Android SDK is a must

How this test helps with hiring Java candidates

Steps to assess Java Developers
Create a test
Create a test
Add questions to assess Java skills
Add questions to assess Java skills
Send invites to candidates
Send invites to candidates
valuate the report
valuate the report
Assess Java developers for free   
Common types of assessments used by our top customers

Programming questions on Java

10 MCQs
on Java

10 MCQs
on Android

Sample questions

What is the output of the following Java code:

class A{
private double num = 100;
private int square(int a){
return a*a;
}
}
public class Begin{
public static void main(String []aa){
A obj = new A();
System.out.println(obj.num);
System.out.println(obj.square(10));
}
}

  • 100 and 100
  • Runtime error
  • Compilation errorCorrect Answer
  • None of these

In Java, what is the output of the following code:

class A
{
public void inA()
{
System.out.println(“Class A”);
}
}

class B extends A
{
void inA()
{
System.out.println(“Class B”);
}

}

public class Examp2 {
public static void main(String []aa)
{
B b=new B();
b.inA();
}
}

  • Class B
  • Class A
  • Compilation errorCorrect Answer
  • Class B is printed twice

In Java, what is the output of the following code:

package Practi;

public class Examp8 {
protected int a=10;
public int b=9;
int c=100;

Examp8(int a, int b)
{
this.a=a;
this.b=b;
c=1;
}
protected void add()
{
System.out.println(a+b+c);
}

}
package Doprctice;
import Practi.Examp8;
public class Examp8con extends Examp8 {

public Examp8con(int a,int b){
super(a,b);
}
public static void main(String []aa)
{
Examp8con e=new Examp8con(15,10);
e.add();
}
}

  • 26
  • 125
  • 20
  • Compilation errorCorrect Answer

Want us to help you create a Java Developer Assessment?

Top customers using HackerEarth to hire developers

Barclays Logo
General Electrics Logo
Government of Canada Logo
Nokia Logo
Northern Trust Logo
Thoughtworks Logo
UBS Logo
Walmart Logo