fr
fr

79 interview questions on Javafor developers (2025)

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

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
3812
To review
31
79 questions
Hard
14 votes3467 runs1 comment
Easy
14 votes3346 runs0 comment
Hard
14 votes3303 runs0 comment
Hard
12 votes3503 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 votes3462 runs
1 comment
Hard
12 votes3398 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Hard
10 votes3441 runs0 comment

A “synchronized” method

Thomas De verdièreat Jan 4, 2022
Hard
9 votes3249 runs2 comments

What does the following code show?

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

Write a finalizer in Java.

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

What is the classpath for?

Back-end developer
java
classpath
Thomas De verdièreat Jan 4, 2022
Easy
8 votes3257 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 votes3332 runs0 comment

Create an instance of ArrayList in Java

Thomas De verdièreat Jan 4, 2022
Medium
7 votes3329 runs1 comment
Medium
7 votes3282 runs0 comment
Hard
6 votes3458 runs
3 comments

How to write a portable Java program

Thomas De verdièreat Jan 4, 2022
Hard
6 votes3387 runs0 comment

Create an instance of HashMap in Java

Back-end developer
hashmap
map
null
Thomas De verdièreat Jan 4, 2022
Medium
6 votes3358 runs
2 comments

What package contains the HashMap class in Java?

Thomas De verdièreat Jan 4, 2022