Quick check · free · no sign-up

Java Developer: 5 questions to test yourself

Pick one answer for each question, then see your score and why each answer is right. It takes about two minutes.

For two String objects a and b, what is the difference between a == b and a.equals(b)?
Which of these is NOT an access modifier in Java?
How many null keys can a HashMap hold?
Which of these is a checked exception?
What does marking a class final do?

Free · No sign-up · Nothing is saved · Updated 16 Nov 2026