Core Java Online Aptitude Test

Topics covered

Core Java, Data Types, Threads, Servlets, General Aptitude

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

Core Java Online Test is specifically designed & validated by experienced subject matter experts (SME)s to validate the technical expertise of the candidates in Core Java - as per Industry Standards.

Core Java (also known as J2SE) is a general-purpose programming language using which we can compile and run the Java applications. Core Java consists of data types, literals, variables, operators, statements, classes, OOPs concepts, thread model, interfaces and packages, etc. It is a platform independent and based on object oriented programming concepts which simplify the coding design.

Online Core Java test helps recruiters & hiring managers to assess technical knowledge of candidate for Core Java before an interview.

Core Java quiz online test contains meaningful questions on following Topics:

  • Core Java

  • Data Types

  • Threads

  • Servlets

  • General Aptitude 

Screen candidates with Core Java aptitude test at initial level & spend time interviewing with only relevant candidates. With our powerful reporting, you can analyze the depth of candidate’s knowledge & make the better hiring decisions.

We also provide the facility of custom made core java programming test where you can create the test for experienced as well as for beginners, depending upon your specific requirements.

This pre-employment test is useful for hiring:
  • Core Java Developer
  • Core Java Programmer
  • Java Developer with 1-3 yrs of experience

Test details:

Identify potential hires using online test for Core Java by evaluating working skills and job readiness of the applicants. For this reason, an emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

This core java assessment test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.

Test Duration: 40 minutes
Questions: 20

Core Java test contains the combination of application and theory questions that helps you to evaluate technical as well as practical skills of candidates

Core Java Test

Question #1 of 3

1. List list = new ArrayList<>();
2. list.add(21);
3. list.add(13);
4. list.add(30);
5. list.add(11);
6. list.add(2);

Which of the following should be inserted at Line 5 to get output [21, 13, 11]

    • list.removeIf(e > e%2 != 0);

    • list.removeIf(e -> e%2 != 0);

    • list.removeIf(e -> e%2 == 0);

    • list.remove(e -> e%2 == 0);

Question #2 of 3

Consider the following code:
Comparator scheduleComparator = Comparator.comparingInt(Schedule::getReference);
Optional mostRecent =

The above code has an error. How can we solve the problem?

    • Optional<Schedule> mostRecent =>scheduleComparator));

    • Optional<Schedule> mostRecent =;

    • Optional<Schedule> mostRecent =;

    • Optional<Schedule> mostRecent =;

Question #3 of 3

The FleetControl system must create an object of type LocalDate with the following values:

Day: 5
Month: January
Year: 2018

Which of the below code snippet will create the above object?

    • LocalDate sysDate = LocalDate.values(5, 1, 2018);

    • LocalDate sysDate = LocalDate.values(2018, 1, 5);

    • LocalDate sysDate = LocalDate.of(5, 1, 2018);

    • LocalDate sysDate = LocalDate.of(2018, 1, 5);

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address

24.00 Out of 40.00
23 Minutes

Java EE




Oracle PL/SQL


Analytical Thinking


Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.


Java EE, Oracle PL/SQL, Analytical Thinking




It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Take your first step to hire job fit candidate


How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Take your first step to hire job fit candidate