Java quizzes
Strongly typed, object-oriented and everywhere in enterprise and Android.
Practise Java with short quizzes that mix concept checks, code reading and debugging, from beginner to advanced level. Written against Java 17+.
Java quiz levels
Difficulty rises through concepts (code reading, debugging, edge cases, trade-offs), not through trick wording.
- Beginner
Core vocabulary and fundamentals.
- Java Fundamentals · 7 questions
- Intermediate
Concepts applied to real problems.
- Object-Oriented Java · 7 questions
- Java Code Lab · 5 activities
- Advanced
Edge cases, internals and trade-offs.
- Collections & Exceptions · 8 questions
Topics covered in the Java quizzes
Every topic below appears in at least one question today. The number is how many questions cover it.
- Exceptions · 2
- Lists · 2
- Strings · 2
- Types · 2
- Arrays · 1
- Constructors · 1
- Encapsulation · 1
- final · 1
- HashMap · 1
- Immutability · 1
- Interfaces · 1
- Iteration · 1
- Overriding · 1
- Polymorphism · 1
- Program entry · 1
- References · 1
- Resources · 1
- Static · 1
How this works
Practice or exam mode
Practice mode explains each answer straight away. Exam mode holds all answers until you finish, then shows a full review.
Shuffled answer order
Options are shuffled on every attempt, so you learn the idea rather than the position of the right letter.
Timer, flags and skips
A timer runs while you play. Flag questions to revisit them, or skip and come back from the question navigator.
Saved on your device
Scores, streaks and topic accuracy are stored in your browser only. There is no account.
Learn Java first, or keep going
Java: == vs equals() and Why Strings Trip Everyone Up
What == really compares in Java, why new String("a") differs from "a", and how to write reliable comparisons for strings and your own classes.
ArticleJava OOP Concepts Explained: Encapsulation, Inheritance, Polymorphism and Abstraction
The four object-oriented pillars in Java with short examples, the difference between abstract classes and interfaces, and why composition often beats inheritance.
ArticleSpring Boot REST API for Beginners: Build Your First Endpoint
A step-by-step introduction to creating a Spring Boot project, writing a REST controller and running it, with the annotations you need and the mistakes beginners make.
Related technologyPython quizzes
Readable, general-purpose and the default language of data work.
Related technologySQL quizzes
The standard language for asking questions of relational data.
Java quiz FAQ
How many Java quizzes are there?
There are currently 3 multiple-choice Java quizzes with 22 questions in total, plus 1 interactive challenge. The numbers on this page come from the live quiz catalogue.
Which Java quiz should I start with?
Start with Java Fundamentals, the beginner-level quiz. Then work up through Intermediate, Advanced.
Are the Java quizzes free?
Yes. There is no sign-up. Your scores and streaks are stored in your own browser.
Do the Java quizzes explain the answers?
Yes. Every question has an explanation covering why the right answer is correct and why the tempting alternatives are not.
Which Java version is assumed?
Java 17 or newer. Features such as List.of need Java 9+.
Is Java still relevant for students?
Absolutely. It remains the backbone of enterprise software and Android development, and is highly requested by campus recruiters.
Do these quizzes cover Spring Boot?
No. These quizzes test core Java fundamentals (Core Java). Spring Boot is a separate topic entirely.