fr
fr

78 interview questions on Javafor developers (2025)

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

Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
3806
To review
8
78 questions
Hard
12 votes3289 runs1 comment
Hard
12 votes3242 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Easy
12 votes3185 runs0 comment
Hard
12 votes3131 runs0 comment
Hard
10 votes3342 runs0 comment

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

Back-end developer
inheritance
package
Thomas De verdièreat Jan 4, 2022
Hard
10 votes3290 runs
1 comment
Hard
8 votes3268 runs0 comment

A “synchronized” method

Thomas De verdièreat Jan 4, 2022
Easy
8 votes3160 runs0 comment

What is the classpath for?

Back-end developer
java
classpath
Thomas De verdièreat Jan 4, 2022
Hard
7 votes3271 runs0 comment

Write a finalizer in Java.

Back-end developer
java
finalizer
Thomas De verdièreat Dec 16, 2021
Hard
7 votes3165 runs1 comment
Medium
7 votes3123 runs0 comment
Hard
6 votes3189 runs0 comment
Medium
6 votes3188 runs
2 comments

What package contains the HashMap class in Java?

Thomas De verdièreat Jan 4, 2022
Easy
6 votes3154 runs1 comment

What are the visibility modifiers for a method in Java?

Back-end developer
access modifiers
methods
Thomas De verdièreat Jan 4, 2022
Easy
6 votes3004 runs0 comment

Declare a constant in Java

Back-end developer
constants
java
Thomas De verdièreat Jan 4, 2022
Hard
5 votes3274 runs
3 comments

How to write a portable Java program

Thomas De verdièreat Jan 4, 2022
Hard
5 votes3224 runs0 comment

Create an instance of HashMap in Java

Back-end developer
hashmap
map
null
Thomas De verdièreat Jan 4, 2022