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
11
79 questions
Hard
12 votes3372 runs1 comment
Hard
12 votes3304 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Easy
12 votes3252 runs0 comment
Hard
12 votes3206 runs0 comment
Hard
11 votes3407 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 votes3369 runs
1 comment
Hard
8 votes3335 runs0 comment

A “synchronized” method

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

What is the classpath for?

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

Write a finalizer in Java.

Back-end developer
java
finalizer
Thomas De verdièreat Dec 16, 2021
Hard
7 votes3222 runs1 comment
Hard
7 votes3184 runs0 comment
Medium
6 votes3247 runs
2 comments

What package contains the HashMap class in Java?

Thomas De verdièreat Jan 4, 2022
Hard
6 votes3244 runs0 comment
Easy
6 votes3225 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
Medium
6 votes3151 runs2 comments

What does the following code show?

Back-end developer
java
variable
Thomas De verdièreat Jan 4, 2022
Easy
6 votes3061 runs0 comment

Declare a constant in Java

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

How to write a portable Java program

Thomas De verdièreat Jan 4, 2022