fr
fr

157 interview questions on Javafor developers (2026)

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

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
152
To review
5
157 questions
Easy
33 votes3079 runs
12 comments
Hard
14 votes3507 runs1 comment
Easy
14 votes3384 runs0 comment
Hard
14 votes3337 runs0 comment
Easy
13 votes2980 runs
2 comments
Hard
12 votes3537 runs0 comment

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

Back-end developer
inheritance
package
Thomas De verdièreat Jan 4, 2022
Hard
12 votes3494 runs
1 comment
Hard
12 votes3437 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Easy
11 votes2850 runs
2 comments
Hard
10 votes3476 runs0 comment

A “synchronized” method

Thomas De verdièreat Jan 4, 2022
Easy
10 votes2889 runs0 comment
Hard
9 votes3279 runs2 comments

What does the following code show?

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

Write a finalizer in Java.

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

What is the classpath for?

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

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

Back-end developer
java
annotations
Thomas De verdièreat Jan 4, 2022
Easy
7 votes3366 runs0 comment

Create an instance of ArrayList in Java

Thomas De verdièreat Jan 4, 2022