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
26
79 questions
Hard
13 votes3446 runs1 comment
Easy
13 votes3326 runs0 comment
Hard
13 votes3285 runs0 comment
Hard
12 votes3484 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 votes3376 runs0 comment

A monitor in Java

Thomas De verdièreat Jan 4, 2022
Hard
11 votes3444 runs
1 comment
Hard
9 votes3418 runs0 comment

A “synchronized” method

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

What is the classpath for?

Back-end developer
java
classpath
Thomas De verdièreat Jan 4, 2022
Hard
8 votes3231 runs2 comments

What does the following code show?

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

Write a finalizer in Java.

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

What package contains the HashMap class in Java?

Thomas De verdièreat Jan 4, 2022
Hard
6 votes3329 runs0 comment
Easy
6 votes3314 runs0 comment

Create an instance of ArrayList in Java

Thomas De verdièreat Jan 4, 2022
Easy
6 votes3302 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 votes3234 runs0 comment

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

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