Java (Coding) Quiz

Java language fundamentals — the JVM, OOP concepts, and the ecosystem behind one of the most-deployed languages.

This category currently has 80 questions in the SERVBG quiz bank. Below are a few sample questions — the full interactive quiz shuffles through the whole set with instant scoring.

Sample questions

Which keyword (Java 10+) declares a local variable with type inference?
Which Java LTS introduced records?
Which Java LTS introduced sealed classes (final)?
Which Java LTS introduced virtual threads (final)?
Which keyword exits a method returning a value?
Start the full quiz ›

Related categories

Python (Coding)
Python syntax, standard-library usage, and the language idioms that come up in day-to-day scripting and application work.
187 questions
JavaScript (Coding)
Core JavaScript language behavior, async patterns, and the quirks that trip up both beginners and experienced developers.
186 questions
Linux
Linux command-line usage, file permissions, process management, and the everyday admin tasks every sysadmin and developer needs.
150 questions
Security
General information security concepts — threats, defenses, and the fundamentals every IT professional should know.
148 questions
Hardware
Computer hardware components, how they interact, and the troubleshooting knowledge behind keeping systems running.
145 questions