fr
fr

80 interview questions on Javafor developers (2026)

Test your technical skills before an interview of Java with 80 corrected questions. Beginner, Intermediate or Expert level.

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
3919
To review
51
80 questions
Medium
14 votes3686 runs1 comment
Hard
14 votes3611 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Easy
14 votes3570 runs0 comment
Hard
14 votes3510 runs0 comment
Hard
13 votes3664 runs
1 comment
Medium
12 votes3707 runs0 comment

A Customer class has the com.company.model package.

Back-end developer
inheritance
package
Thomas De verdièreat Jan 4, 2022
Hard
11 votes3669 runs0 comment

A “synchronized” method

Thomas De verdièreat Jan 4, 2022
Medium
9 votes3460 runs2 comments

What does the following code show?

Back-end developer
java
variable
Thomas De verdièreat Jan 4, 2022
Hard
8 votes3653 runs0 comment

Write a finalizer in Java.

Back-end developer
java
finalizer
Thomas De verdièreat Dec 16, 2021
Easy
8 votes3520 runs0 comment

What is the classpath for?

Back-end developer
java
classpath
Thomas De verdièreat Jan 4, 2022
Easy
8 votes3461 runs0 comment

Java 5: where to place the "@Override" tag and why?

Back-end developer
java
annotations
Thomas De verdièreat Jan 4, 2022
Medium
7 votes3676 runs
3 comments

How to write a portable Java program

Thomas De verdièreat Jan 4, 2022
Easy
7 votes3568 runs
2 comments

What package contains the HashMap class in Java?

Thomas De verdièreat Jan 4, 2022
Easy
7 votes3539 runs0 comment

Create an instance of ArrayList in Java

Thomas De verdièreat Jan 4, 2022
Hard
7 votes3536 runs1 comment
Easy
7 votes3473 runs0 comment
Medium
6 votes3620 runs0 comment

How to create a thread in Java

Thomas De verdièreat Jan 4, 2022