Java interview questions

Want to become an expert in cracking Java interview questions?

Start with practicing the questions below. Whether a question involves multiple choice or live coding, we will give you hints as you go and tell you if your answers are correct or incorrect.

After that, take our timed public Java interview questions test.

To use our service for testing developers, purchase one of the paid plans for companies.


1. Palindrome
Java Strings Public

A palindrome is a word that...
Easy  
10min
Solve question

2. UserInput
Java OOP Public

User interface contains two...
Easy  
15min
Solve question

3. BinarySearchTree
Java Algorithmic thinking Data structures Public

Binary search tree (BST) is...
Easy  
20min
Solve question

4. TwoSum
Java Algorithmic thinking Searching Public

Write a function that, give...
Easy  
30min
Solve question

5. Folders
Java Serialization Public

Implement a function folder...
Hard  
20min
Solve question

6. SortedSearch
Java Algorithmic thinking Searching Public

Implement function countNum...
Hard  
20min
Solve question

7. TrainComposition
Java Algorithmic thinking Data structures Public

A TrainComposition is built...
Hard  
20min
Solve question

8. Path
Java Data structures Strings Public

Write a function that provi...
Hard  
30min
Solve question

If you feel ready, take one of our timed public Java interview questions tests:

  • HTML/CSS, JavaScript, Java, and SQL online test ( Easy  /  Hard )
  • HTML/CSS, JavaScript, SQL, and Java Algorithms online test ( Easy  /  Hard )
  • Java online test ( Easy  /  Hard )
  • Java Algorithms online test ( Easy  /  Hard )
  • Java and Android online test ( Easy  /  Hard )
  • Java and SQL online test ( Easy  /  Hard )
  • SQL and Java Algorithms online test ( Easy  /  Hard )
Not exactly what you are looking for? Go to our For developers section.