fr
fr

158 interview questions on Javafor developers (2026)

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

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
158
To review
0
158 questions
Easy
38 votes3334 runs
13 comments
Easy
17 votes3226 runs
2 comments
Hard
14 votes3672 runs1 comment
Hard
14 votes3600 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Easy
14 votes3555 runs0 comment
Hard
14 votes3494 runs0 comment
Hard
13 votes3651 runs
1 comment
Hard
12 votes3691 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 votes3653 runs0 comment

A “synchronized” method

Thomas De verdièreat Jan 4, 2022
Easy
11 votes3069 runs
2 comments
Easy
10 votes3125 runs0 comment
Medium
9 votes3444 runs2 comments

What does the following code show?

Back-end developer
java
variable
Thomas De verdièreat Jan 4, 2022
Easy
9 votes3150 runs0 comment
Hard
8 votes3639 runs0 comment

Write a finalizer in Java.

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

What is the classpath for?

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

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

Back-end developer
java
annotations
Thomas De verdièreat Jan 4, 2022