
Programming & Coding · Java
Java Basics Quiz: Syntax, Variables & Data Types
A Java quiz for beginners: the main method, primitive types, integer division, string concatenation, casting, char arithmetic, final and equals().
Quiz · Java
A Java OOP quiz: constructors and super(), access modifiers, extends and implements, overloading versus overriding, polymorphism and static members.
Java programming quizzes on types and strings, predicting Java code output, and OOP with classes, inheritance, interfaces and polymorphism.
Before you start
You have 30 seconds for each question. When time runs out, the question counts as wrong.
Your first choice is the one that counts. It is checked straight away, with an explanation where there is one.
At the end you see your score and can go back through every question and its answer.
XP scales with your score. Replays earn XP only when you beat your previous best.
From players
Play next

Programming & Coding · Java
A Java quiz for beginners: the main method, primitive types, integer division, string concatenation, casting, char arithmetic, final and equals().

Programming & Coding · Java
Java output questions: predict what real code prints, from loops, immutable strings and == versus equals() to Integer caching and switch fall-through.